WP_Customize_Control::get_content() WordPress Method
WP_Customize_Control::get_content() is a method used to display the content for a particular Customizer control. This method is called automatically by the Customizer when the control is being rendered.
WP_Customize_Control::get_content() #
Get the control’s content for insertion into the Customizer pane.
Return
(string) Contents of the control.
Source
File: wp-includes/class-wp-customize-control.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. |