From 277d715d9e1f64cc1f4a4b8231df99b483fbf33a Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 6 Mar 2014 13:51:14 +0000 Subject: [PATCH] Inline documentation for hooks in wp-includes/class-wp-customize-control.php. Fixes #27294. Built from https://develop.svn.wordpress.org/trunk@27431 git-svn-id: http://core.svn.wordpress.org/trunk@27278 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-control.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index 6dc205d781..8dedf10fde 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -179,7 +179,25 @@ class WP_Customize_Control { if ( ! $this->check_capabilities() ) 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 ); + + /** + * 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 ); $this->render();