ACF\AI\GEO
FieldSettings::init
Initialize the field settings
Метод класса: FieldSettings{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$FieldSettings = new FieldSettings(); $FieldSettings->init();
Список изменений
| С версии 6.8.0 | Введена. |
Код FieldSettings::init() FieldSettings::init ACF 6.8.8
public function init() {
// Add the Schema.org Property setting to field types that support it.
add_action( 'acf/render_field_general_settings', array( $this, 'render_field_schema_settings' ) );
// AJAX output format handler (needs to be added early for AJAX requests).
add_action( 'wp_ajax_acf/schema/get_output_formats', array( $this, 'ajax_get_output_formats' ) );
}