WP_Customize_Control::content_template() protected WP 4.1.0
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().
{} It's a method of the class: WP_Customize_Control{}
No Hooks.
Return
Null. Nothing.
Usage
// protected - for code of main (parent) or child class $result = $this->content_template();
Notes
- See: WP_Customize_Control::print_template()
Changelog
Since 4.1.0 | Introduced. |
Code of WP_Customize_Control::content_template() WP Customize Control::content template WP 5.6
protected function content_template() {}