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.


Top ↑

Source

File: wp-includes/class-wp-customize-panel.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.