acf_is_valid_internal_post_type_key()
Check if the provided key is an identifiable ACF post type.
Хуков нет.
Возвращает
true|false
.
Использование
acf_is_valid_internal_post_type_key( $key );
- $key(строка) (обязательный)
- The key to check.
Список изменений
С версии 6.2.8 | Введена. |
Код acf_is_valid_internal_post_type_key() acf is valid internal post type key ACF 6.4.2
function acf_is_valid_internal_post_type_key( string $key ) { return (bool) acf_determine_internal_post_type( $key ); }