acf_get_field_groups()
acf_get_field_groups
Returns and array of field_groups for the given $filter.
Хуков нет.
Возвращает
array.
Использование
acf_get_field_groups( $filter );
- $filter(массив)
- An array of args to filter results by.
По умолчанию:array()
Список изменений
| С версии 5.0.0 | Введена. |
Код acf_get_field_groups() acf get field groups ACF 6.8.8
function acf_get_field_groups( $filter = array() ) {
return acf_get_internal_post_type_posts( 'acf-field-group', $filter );
}