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