acf_fields::register_field_type_info()
register_field_type_info
This function will store a basic array of info about the field type to later be overriden by the above register_field_type function
Метод класса: acf_fields{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$acf_fields = new acf_fields(); $acf_fields->register_field_type_info( $info );
- $info (обязательный)
- -
Список изменений
С версии 5.6.0 | Введена. |
Код acf_fields::register_field_type_info() acf fields::register field type info ACF 6.0.4
function register_field_type_info( $info ) { // convert to object $instance = (object) $info; $this->types[ $instance->name ] = $instance; }