Since: 2.3
export_pod_item_level
Export a pod item by depth level
Function Definition
private function export_pod_item_level ( $pod, $fields, $depth, $flatten = false, $current_depth = 1 )
Source File: /pods/classes/PodsAPI.php
Parameters
Parameter | Type | Details |
---|---|---|
$pod | (Pods) | Pods object |
$fields | (array) | Fields to export |
$depth | (int) | Depth limit |
$flatten | (boolean) | Whether to flatten arrays for display |
$current_depth | (int) | Current depth level |
Returns
(array) Data array