WordPress at a glance
функция не описана

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{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

// protected - for code of main (parent) or child class
$result = $this->content_template();

Заметки

  • See: WP_Customize_Control::print_template()

Changelog

Since 4.1.0 Introduced.

Код WP_Customize_Control::content_template() WP 5.5.1

<?php
protected function content_template() {}