WP_Customize_Control::get_content
Gets the control's content for insertion into the Customizer pane.
Method of the class: WP_Customize_Control{}
No Hooks.
Returns
String. Contents of the control.
Usage
$WP_Customize_Control = new WP_Customize_Control(); $WP_Customize_Control->get_content();
Changelog
| Since 4.1.0 | Introduced. |
WP_Customize_Control::get_content() WP Customize Control::get content code WP 7.0
final public function get_content() {
ob_start();
$this->maybe_render();
return trim( ob_get_clean() );
}