acf_get_local_json_files()
Returns an array of found JSON field group files.
Хуков нет.
Возвращает
Массив.
Использование
acf_get_local_json_files( $post_type );
- $post_type(строка)
- The ACF post type to get files for.
По умолчанию: 'acf-field-group'
Список изменений
| С версии 5.9.0 | Введена. |
Код acf_get_local_json_files() acf get local json files ACF 6.4.2
function acf_get_local_json_files( $post_type = 'acf-field-group' ) {
return acf_get_instance( 'ACF_Local_JSON' )->get_files( $post_type );
}