-
Notifications
You must be signed in to change notification settings - Fork 123
Time field
mattheu edited this page Apr 28, 2013
·
7 revisions
A Time field.
JavaScript timepicker is used for selecting the time.
Data is stored as a string in the format H:i A
- id (string) (required)
- name (string) (required) Field display name. Used as field label.
- type 'text' (string) (required)
- desc (string) Field description. Displayed below label.
- repeatable (bool)
- cols (int) [1-12]
array(
'id' => 'example-field-data',
'name' => 'A date field',
'type' => 'date',
),
- Setup/Install Custom Meta Boxes
- Creating a custom meta box
- Displaying Field Data
- Optional Generic Field Args
- Repeatable Fields
General
- Text Field
- Small Text Field
- Number Field
- URL Field
- Textarea Field
- Code Field
- Select Field
- Checkbox Input Field
- Radio Input Field
Date & Time
WordPress
Media
Utilities