WP_Customize_Section::get_content()

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

Return

(string) Contents of the section.

Source

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

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

Changelog

Version Description
4.1.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_section/get_content