| [ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Customize API: WP_Customize_Date_Time_Control class
| File Size: | 289 lines (9 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
WP_Customize_Date_Time_Control:: (6 methods):
render_content()
json()
content_template()
get_month_choices()
get_timezone_info()
format_gmt_offset()
Class: WP_Customize_Date_Time_Control - X-Ref
Customize Date Time Control class.| render_content() X-Ref |
| Don't render the control's content - it's rendered with a JS template. since: 4.9.0 |
| json() X-Ref |
| Export data to JS. return: array since: 4.9.0 |
| content_template() X-Ref |
| Renders a JS template for the content of date time control. since: 4.9.0 |
| get_month_choices() X-Ref |
| Generate options for the month Select. Based on touch_time(). return: array since: 4.9.0 |
| get_timezone_info() X-Ref |
| Get timezone info. return: array { since: 4.9.0 |
| format_gmt_offset( $offset ) X-Ref |
| Format GMT Offset. return: string Formatted offset. since: 4.9.0 param: float $offset Offset in hours. |
| Generated: Sat Nov 8 01:00:02 2025 | Cross-referenced by PHPXref 0.7.1 |