customize_register action-hook . WP 3.4.0
Fires once WordPress has loaded, allowing scripts and styles to be initialized.
Usage
add_action( 'customize_register', 'action_function_name_6168' ); function action_function_name_6168( $this ){ // action... }
- $this(WP_Customize_Manager)
- WP_Customize_Manager instance.
Changelog
Since 3.4.0 | Introduced. |
Where the hook is called
customize_register
customize_register
wp-includes/class-wp-customize-manager.php 933
do_action( 'customize_register', $this );
wp-includes/theme.php 3438
do_action( 'customize_register', $wp_customize );
Where in WP core the hook is used WordPress
wp-includes/class-wp-customize-manager.php 1629
add_action( 'customize_register', array( $this, '_save_starter_content_changeset' ), 1000 );
wp-includes/class-wp-customize-manager.php 386
add_action( 'customize_register', array( $this, 'register_controls' ) );
wp-includes/class-wp-customize-manager.php 387
add_action( 'customize_register', array( $this, 'register_dynamic_settings' ), 11 ); // Allow code to create settings first.
wp-includes/class-wp-customize-manager.php 49
add_action( 'customize_register', array( $this, 'customize_register' ), 11 );
wp-includes/class-wp-customize-manager.php 105
add_action( 'customize_register', array( $this, 'schedule_customize_register' ), 1 );
wp-includes/class-wp-customize-manager.php 3434
remove_action( 'customize_register', array( $wp_customize, 'register_controls' ) );