Inline documentation for hooks in wp-includes/class-wp-customize-control.php.
Fixes #27294. git-svn-id: https://develop.svn.wordpress.org/trunk@27431 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d9c9ea73ec
commit
6ec45726ac
@ -179,7 +179,25 @@ class WP_Customize_Control {
|
|||||||
if ( ! $this->check_capabilities() )
|
if ( ! $this->check_capabilities() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fires just before the current Customizer control is rendered.
|
||||||
|
*
|
||||||
|
* @since 3.4.0
|
||||||
|
*
|
||||||
|
* @param WP_Customize_Control $this WP_Customize_Control instance.
|
||||||
|
*/
|
||||||
do_action( 'customize_render_control', $this );
|
do_action( 'customize_render_control', $this );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fires just before a specific Customizer control is rendered.
|
||||||
|
*
|
||||||
|
* The dynamic portion of the hook name, $this->id, refers to
|
||||||
|
* the control ID.
|
||||||
|
*
|
||||||
|
* @since 3.4.0
|
||||||
|
*
|
||||||
|
* @param WP_Customize_Control $this WP_Customize_Control instance.
|
||||||
|
*/
|
||||||
do_action( 'customize_render_control_' . $this->id, $this );
|
do_action( 'customize_render_control_' . $this->id, $this );
|
||||||
|
|
||||||
$this->render();
|
$this->render();
|
||||||
|
Loading…
Reference in New Issue
Block a user