customize_render_control
Fires just before the current Customizer control is rendered.
Usage
add_action( 'customize_render_control', 'wp_kama_customize_render_control_action' ); /** * Function for `customize_render_control` action-hook. * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return void */ function wp_kama_customize_render_control_action( $control ){ // action... }
- $control(WP_Customize_Control)
- WP_Customize_Control instance.
Changelog
Since 3.4.0 | Introduced. |
Where the hook is called
customize_render_control
wp-includes/class-wp-customize-control.php 403
do_action( 'customize_render_control', $this );