WP_Customize_Control::content_template()protectedWP 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

Changelog

Since 4.1.0 Introduced.

Code of WP_Customize_Control::content_template() WP 6.0

protected function content_template() {}