acf_fields::is_field_type()
is_field_type
This function will return true if a field type exists
Метод класса: acf_fields{}
Хуков нет.
Возвращает
(Разное)
.
Использование
$acf_fields = new acf_fields(); $acf_fields->is_field_type( $name );
- $name (обязательный)
- -
Список изменений
С версии 5.4.0 | Введена. |
Код acf_fields::is_field_type() acf fields::is field type ACF 6.0.4
function is_field_type( $name ) { return isset( $this->types[ $name ] ); }