customize_render_control_(id) action-hookWP 3.4.0

Fires just before a specific Customizer control is rendered.

The dynamic portion of the hook name, $this->id, refers to the control ID.

Usage

add_action( 'customize_render_control_(id)', 'wp_kama_customize_render_control_id_action' );

/**
 * Function for `customize_render_control_(id)` action-hook.
 * 
 * @param WP_Customize_Control $control WP_Customize_Control instance.
 *
 * @return void
 */
function wp_kama_customize_render_control_id_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_(id)
wp-includes/class-wp-customize-control.php 414
do_action( "customize_render_control_{$this->id}", $this );

Where the hook is used in WordPress

Usage not found.