WP_Customize_Section::get_content()publicWP 4.1.0

Get the section's content for insertion into the Customizer pane.

Method of the class: WP_Customize_Section{}

No Hooks.

Return

String. Contents of the section.

Usage

$WP_Customize_Section = new WP_Customize_Section();
$WP_Customize_Section->get_content();

Changelog

Since 4.1.0 Introduced.

WP_Customize_Section::get_content() code WP 6.1.1

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