customize_render_panel_(id)
Fires before rendering a specific Customizer panel.
The dynamic portion of the hook name, $this->id, refers to the ID of the specific Customizer panel to be rendered.
Usage
add_action( 'customize_render_panel_(id)', 'wp_kama_customize_render_panel_id_action' ); /** * Function for `customize_render_panel_(id)` action-hook. * * @return void */ function wp_kama_customize_render_panel_id_action(){ // action... }
Changelog
Since 4.0.0 | Introduced. |
Where the hook is called
customize_render_panel_(id)
wp-includes/class-wp-customize-panel.php 292
do_action( "customize_render_panel_{$this->id}" );