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:
parent
870b415dbd
commit
751833c97c
|
@ -66,8 +66,23 @@ class WP_Customize_Section {
|
||||||
if ( ! $this->check_capabilities() )
|
if ( ! $this->check_capabilities() )
|
||||||
return;
|
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 );
|
||||||
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();
|
$this->render();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue