wppaste
WordPress

do_action( 'customize_render_control', WP_Customize_Control $control )

Since
3.4.0
Fires just before the current Customizer control is rendered.

Compatibility

WordPress
since 3.4.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$controlWP_Customize_Control
WP_Customize_Control instance.

Where this hook fires · 1

  • wp-includes/class-wp-customize-control.php:408WP_Customize_Control::maybe_render()

Source code

		 * Fires just before the current Customizer control is rendered.		 *		 * @since 3.4.0		 *		 * @param WP_Customize_Control $control 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.

Changelog

Introduced in 3.4.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.