acf_get_field_group_post()
acf_get_field_group_post
Retrieves the field group's WP_Post object.
Хуков нет.
Возвращает
(Массив|false). The field group's array.
Использование
acf_get_field_group_post( $id );
- $id((int|string))
- The field group's ID, key or name.
Список изменений
| С версии 5.7.10 | Введена. |
Код acf_get_field_group_post() acf get field group post ACF 6.4.2
function acf_get_field_group_post( $id = 0 ) {
return acf_get_internal_post_type_post( $id, 'acf-field-group' );
}