[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/wp-includes/customize/ -> class-wp-customize-date-time-control.php (summary)

Customize API: WP_Customize_Date_Time_Control class

File Size: 282 lines (9 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Customize_Date_Time_Control:: (6 methods):

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.

json()   X-Ref
Export data to JS.

return: array

content_template()   X-Ref
Renders a JS template for the content of date time control.

get_month_choices()   X-Ref
Generate options for the month Select.

Based on touch_time().

return: array

get_timezone_info()   X-Ref
Get timezone info.

return: array abbr and description.

format_gmt_offset( $offset )   X-Ref
Format GMT Offset.

param: float $offset Offset in hours.
return: string Formatted offset.

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1