Skip to content

1.8.0

Latest
Compare
Choose a tag to compare
@leocaseiro leocaseiro released this 19 Oct 23:18
· 2 commits to master since this release

get_customs() second parameter returns a collection (optional). Thanks @kas-cor

Usage:

    // Second parameter set to true for get_customs returns a collection(array) with `label` and `value`
    $array = get_customs('array_name', true);
    foreach ( $array as $name ) :
        echo $name['label'] . ' - '. $name['value'];
    endforeach;