wordpress / latest / classes / wp_customize_panel / get_content.html

WP_Customize_Panel::get_content(): string

Get the panel’s content template for insertion into the Customizer pane.

Return

string Content for the panel.

Source

File: wp-includes/class-wp-customize-panel.php. View all references

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

Used By

Used By Description

Changelog

Version Description
4.1.0 Introduced.

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