do_action( "customize_render_control_{$this->id}", WP_Customize_Control $control )
- Since
- 3.4.0
Fires just before a specific Customizer control is rendered.
Description
The dynamic portion of the hook name, $this->id, refers to the control ID.
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:420WP_Customize_Control::maybe_render()
Source code
* the control ID. * * @since 3.4.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. */ do_action( "customize_render_control_{$this->id}", $this ); $this->render(); } /** * Renders the control wrapper and calls $this->render_content() for the internals.Changelog
Introduced in 3.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 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.