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.
Использование
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...
}Список изменений
| С версии 4.0.0 | Введена. |
Где вызывается хук
customize_render_panel_(id)
wp-includes/class-wp-customize-panel.php 297
do_action( "customize_render_panel_{$this->id}" );