Since: 2.3
pods_hierarchical_list_recurse
Recurse list of items and make it hierarchical
Function Definition
function pods_hierarchical_list_recurse ( $parent, $list, &$args )
Source File: /pods/includes/data.php
Parameters
Parameter | Type | Details |
---|---|---|
$parent | (int) | Parent ID |
$list | (array|object) | List of items |
$args | (array) | Array of parent, children, and id keys to use |
Returns
(array|object)