customize_render_control action-hookWP 3.4.0

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

WP_Customize_Control::maybe_render()
customize_render_control
wp-includes/class-wp-customize-control.php 402
do_action( 'customize_render_control', $this );

Where the hook is used in WordPress

Usage not found.