customize_render_panel action-hookWP 4.0.0

Fires before rendering a Customizer panel.

Usage

add_action( 'customize_render_panel', 'wp_kama_customize_render_panel_action' );

/**
 * Function for `customize_render_panel` action-hook.
 * 
 * @param WP_Customize_Panel $panel WP_Customize_Panel instance.
 *
 * @return void
 */
function wp_kama_customize_render_panel_action( $panel ){

	// action...
}
$panel(WP_Customize_Panel)
WP_Customize_Panel instance.

Changelog

Since 4.0.0 Introduced.

Where the hook is called

WP_Customize_Panel::maybe_render()
customize_render_panel
wp-includes/class-wp-customize-panel.php 282
do_action( 'customize_render_panel', $this );

Where the hook is used in WordPress

Usage not found.