WP_Customize_Section::get_content() WordPress Method
The WP_Customize_Section::get_content() method is used to get the content for a particular section. This is useful for sections that contain complex content, such as a list of options or a set of instructions.
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() ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |