WP_Customize_Control::content_template()
- Since
- 4.1.0
- Source
wp-includes/class-wp-customize-control.php:710
An Underscore (JS) template for this control's content (but not its container).
Description
Class variables for this control class are available in the
data JS object; export custom variables by overriding WP_Customize_Control::to_json().Used by · 1
- WP_Customize_Control::print_template()Renders the control's JS template.
Source
protected function content_template() {}History
Introduced in 4.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, from
src/wp-includes/class-wp-customize-control.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.