customize_render_section
Fires before rendering a Customizer section.
Использование
add_action( 'customize_render_section', 'wp_kama_customize_render_section_action' ); /** * Function for `customize_render_section` action-hook. * * @param WP_Customize_Section $section WP_Customize_Section instance. * * @return void */ function wp_kama_customize_render_section_action( $section ){ // action... }
- $section(WP_Customize_Section)
- WP_Customize_Section instance.
Список изменений
С версии 3.4.0 | Введена. |
Где вызывается хук
customize_render_section
wp-includes/class-wp-customize-section.php 304
do_action( 'customize_render_section', $this );