[ Index ]

PHP Cross Reference of WordPress




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

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

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.

since: 4.9.0

json()   X-Ref
Export data to JS.

since: 4.9.0
return: array

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().

since: 4.9.0
return: array

get_timezone_info()   X-Ref
Get timezone info.

since: 4.9.0
return: array {

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

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

Generated: Sat Jul 13 01:00:02 2024 Cross-referenced by PHPXref 0.7.1