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().
Метод класса: WP_Customize_Control{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->content_template();
Заметки
- Смотрите: WP_Customize_Control::print_template()
Список изменений
С версии 4.1.0 | Введена. |
Код WP_Customize_Control::content_template() WP Customize Control::content template WP 6.7.2
protected function content_template() {}