WP_Customize_Panel::get_content()
Get the panel's content template for insertion into the Customizer pane.
Method of the class: WP_Customize_Panel{}
No Hooks.
Return
String
. Content for the panel.
Usage
$WP_Customize_Panel = new WP_Customize_Panel(); $WP_Customize_Panel->get_content();
Changelog
Since 4.1.0 | Introduced. |
WP_Customize_Panel::get_content() WP Customize Panel::get content code WP 6.2.2
final public function get_content() { ob_start(); $this->maybe_render(); return trim( ob_get_clean() ); }