customize_register
The Jetpack by WordPress.com customize register hook.
Description
Parameters (1)
- 0. $array (callback) =>
array( $this, 'customize_register' )
- The array.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'customize_register', $array );
- The following example is for adding a hook callback.
- // define the customize_register callback
- function action_customize_register( $array ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'customize_register', 'action_customize_register', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'customize_register', 'action_customize_register', 10, 1 );
Defined (6)
The action is defined in the following location(s).
- /modules/theme-tools/social-links.php
- add_action( 'customize_register', array( $this, 'customize_register' ) );
- /modules/theme-tools/site-logo/inc/class-site-logo.php
- add_action( 'customize_register', array( $this, 'customize_register' ) );
- /modules/theme-tools/featured-content.php
- add_action( 'customize_register', array( __CLASS__, 'customize_register' ), 9 );
- /modules/theme-tools/compat/twentyfourteen.php
- add_action( 'customize_register', 'twentyfourteen_customizer_default' );
- /modules/manage.php
- add_action( 'customize_register', 'add_wpcom_to_allowed_redirect_hosts' );
- /modules/custom-post-types/testimonial.php
- add_action( 'customize_register', array( $this, 'customize_register' ) );