WP_Customize_Date_Time_Control::render_content() WordPress Method
The WP_Customize_Date_Time_Control::render_content() method is used to render the content for a Date/Time control. The method accepts two arguments: the id of the setting for the control, and an array of arguments for the control. The array of arguments can include 'label', 'description', 'input_attrs', and 'class'. The Date/Time control allows a user to select a date and time. The control can be used to set the date and time for a post, page, or other content. The control can also be used to set the date and time for an event or other occurrence.
WP_Customize_Date_Time_Control::render_content() #
Don’t render the control’s content – it’s rendered with a JS template.
Source
File: wp-includes/customize/class-wp-customize-date-time-control.php
public function render_content() {}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |