WP_Customize_Control::get_content()
Get the control's content for insertion into the Customizer pane.
Method of the class: WP_Customize_Control{}
No Hooks.
Return
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 6.5.2
final public function get_content() { ob_start(); $this->maybe_render(); return trim( ob_get_clean() ); }