Inline documentation for hooks in wp-includes/class-wp-customize-section.php.

Props leewillis77, kpdesign.
Fixes #26196.

Built from https://develop.svn.wordpress.org/trunk@26892


git-svn-id: http://core.svn.wordpress.org/trunk@26775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-01-02 02:07:11 +00:00
parent 870b415dbd
commit 751833c97c
1 changed files with 16 additions and 1 deletions

View File

@ -66,8 +66,23 @@ class WP_Customize_Section {
if ( ! $this->check_capabilities() )
return;
/**
* Fires before rendering a Customizer section.
*
* @since 3.4.0
*
* @param WP_Customize_Section $this The WP_Customize_Section instance.
*/
do_action( 'customize_render_section', $this );
do_action( 'customize_render_section_' . $this->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.
*
* @since 3.4.0
*/
do_action( "customize_render_section_{$this->id}" );
$this->render();
}