ACF\AI\GEO
FieldSettings::init
Initialize the field settings
Method of the class: FieldSettings{}
No Hooks.
Returns
null. Nothing (null).
Usage
$FieldSettings = new FieldSettings(); $FieldSettings->init();
Changelog
| Since 6.8.0 | Introduced. |
FieldSettings::init() FieldSettings::init code 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' ) );
}