WordPress at a glance
function is not described

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 5.7.2

<?php
protected function content_template() {}