Core Class
View Source on Trac ↗
Core Class
WP_Customize_Date_Time_Control
class WP_Customize_Date_Time_Control
// Constructor: function Object() { [native code] } Customize Date Time Control class.
Methods 6 methods
| Method / Return | Description |
|---|---|
| render_content() void | Don't render the control's content - it's rendered with a JS template. |
| json() array | Export data to JS. |
| content_template() void | Renders a JS template for the content of date time control. |
| get_month_choices() array | Generate options for the month Select. |
| get_timezone_info() array | Get timezone info. |
| format_gmt_offset() string | Format GMT Offset.
Parameters: $offset: mixed |
Properties
| Property / Type | Description |
|---|---|
| $type mixed public | No description available. |
| $min_year mixed public | No description available. |
| $max_year mixed public | No description available. |
| $allow_past_date mixed public | No description available. |
| $include_time mixed public | No description available. |
| $twelve_hour_format mixed public | No description available. |
Class Information
Since Version
4.9.0
Source File
wp-includes/customize/class-wp-customize-date-time-control.php
Advertisement