customize_render_panel_{$this->id} WordPress Action Hook
The customize_render_panel_{$this->id} hook is used to render a custom panel in the WordPress Customizer. This hook is triggered when the WordPress Customizer is initializing a panel for the first time. The panel's ID is passed to the function as the $this->id parameter. This hook can be used to render a custom panel in the WordPress Customizer. The panel's ID is passed to the function as the $this->id parameter. This hook is typically used to add custom settings to a panel, or to modify how the panel is rendered.
do_action( "customize_render_panel_{$this->id}" ) #
Fires before rendering a specific Customizer panel.
Description
The dynamic portion of the hook name, $this->id
, refers to the ID of the specific Customizer panel to be rendered.
Source
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |