customize_render_section_(id)
Fires before rendering a specific Customizer section.
The dynamic portion of the hook name, $this->id, refers to the ID of the specific Customizer section to be rendered.
Использование
add_action( 'customize_render_section_(id)', 'wp_kama_customize_render_section_id_action' ); /** * Function for `customize_render_section_(id)` action-hook. * * @return void */ function wp_kama_customize_render_section_id_action(){ // action... }
Список изменений
С версии 3.4.0 | Введена. |
Где вызывается хук
customize_render_section_(id)
wp-includes/class-wp-customize-section.php 313
do_action( "customize_render_section_{$this->id}" );