WP_Customize_Control::content_template()
An Underscore (JS) template for this control's content (but not its container).
Class variables for this control class are available in the data JS object; export custom variables by overriding WP_Customize_Control::to_json().
Method of the class: WP_Customize_Control{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->content_template();
Notes
Changelog
Since 4.1.0 | Introduced. |
WP_Customize_Control::content_template() WP Customize Control::content template code WP 6.5.2
protected function content_template() {}