Since: 2.3
pods_hierarchical_select
Take a one-level list of items and make it hierarchical for
Function Definition
Parameters
Parameter | Type | Details |
---|---|---|
$list | (array|object) | List of items |
$args | (array) | Array of index, parent, children, id, and prefix keys to use |
$children_key | (string) | Key to recurse children into |
Returns
(array|object)