acf_form_customizer::customize_controls_init()publicACF 3.6.0

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.

Метод класса: acf_form_customizer{}

Хуков нет.

Возвращает

N/A.

Использование

$acf_form_customizer = new acf_form_customizer();
$acf_form_customizer->customize_controls_init();

Список изменений

С версии 3.6.0 Введена.

Код acf_form_customizer::customize_controls_init() 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 );

}