customize_render_section
Fires before rendering a Customizer section.
Usage
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.
Changelog
| Since 3.4.0 | Introduced. |
Where the hook is called
customize_render_section
wp-includes/class-wp-customize-section.php 304
do_action( 'customize_render_section', $this );