acf_form_customizer::customize_controls_init
admin_enqueue_scripts
This action is run after post query but before any admin script / head actions. It is a good place to register all actions.
Method of the class: acf_form_customizer{}
No Hooks.
Returns
N/A.
Usage
$acf_form_customizer = new acf_form_customizer(); $acf_form_customizer->customize_controls_init();
Changelog
| Since 3.6.0 | Introduced. |
acf_form_customizer::customize_controls_init() acf form customizer::customize controls init code ACF 6.0.4
function customize_controls_init() {
// load acf scripts
acf_enqueue_scripts(
array(
'context' => 'customize_controls',
)
);
// actions
add_action( 'acf/input/admin_footer', array( $this, 'admin_footer' ), 1 );
}