WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
событие не описано

customize_register хук-событие . WP 3.4.0

Fires once WordPress has loaded, allowing scripts and styles to be initialized.

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

add_action( 'customize_register', 'action_function_name_7894' );
function action_function_name_7894( $this ){
	// action...
}
$this(WP_Customize_Manager)
WP_Customize_Manager instance.

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

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

Где вызывается хук

WP_Customize_Manager::wp_loaded()
customize_register
_wp_customize_publish_changeset()
customize_register
wp-includes/class-wp-customize-manager.php 928
do_action( 'customize_register', $this );
wp-includes/theme.php 3060
do_action( 'customize_register', $wp_customize );

Где используется хук (в ядре WP)

wp-includes/class-wp-customize-manager.php 1581
add_action( 'customize_register', array( $this, '_save_starter_content_changeset' ), 1000 );
wp-includes/class-wp-customize-manager.php 387
add_action( 'customize_register', array( $this, 'register_controls' ) );
wp-includes/class-wp-customize-manager.php 388
add_action( 'customize_register', array( $this, 'register_dynamic_settings' ), 11 ); // allow code to create settings first
wp-includes/class-wp-customize-nav-menus.php 49
add_action( 'customize_register', array( $this, 'customize_register' ), 11 );
wp-includes/class-wp-customize-widgets.php 105
add_action( 'customize_register', array( $this, 'schedule_customize_register' ), 1 );
wp-includes/theme.php 3056
remove_action( 'customize_register', array( $wp_customize, 'register_controls' ) );