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