acf_get_field_groups()
acf_get_field_groups
Returns and array of field_groups for the given $filter.
No Hooks.
Returns
array.
Usage
acf_get_field_groups( $filter );
- $filter(array)
- An array of args to filter results by.
Default:array()
Changelog
| Since 5.0.0 | Introduced. |
acf_get_field_groups() acf get field groups code ACF 6.8.8
function acf_get_field_groups( $filter = array() ) {
return acf_get_internal_post_type_posts( 'acf-field-group', $filter );
}