WP_Customize_Panel::get_content() WordPress Method

The WP_Customize_Panel::get_content() method is used to get the content for a panel. This method is called by the WP_Customize_Manager::print_template() method.

WP_Customize_Panel::get_content() #

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


Return

(string) Content for the panel.


Top ↑

Source

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

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


Top ↑

Changelog

Changelog
VersionDescription
4.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.