WP_Customize_Panel::get_content()publicWP 4.1.0

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() code WP 6.5.2

final public function get_content() {
	ob_start();
	$this->maybe_render();
	return trim( ob_get_clean() );
}