WP_Customize_Control::get_content()
Get the control's content for insertion into the Customizer pane.
{} It's a 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. |
Code of WP_Customize_Control::get_content() WP Customize Control::get content WP 6.0
final public function get_content() { ob_start(); $this->maybe_render(); return trim( ob_get_clean() ); }