-
Notifications
You must be signed in to change notification settings - Fork 124
File field
ajitbohra edited this page Dec 1, 2014
·
9 revisions
A file input field. Upload files, or select from the media library.
The value saved is the attachment id.
- id (string) (required)
- name (string) (required) Field display name. Used as field label.
- type 'file' (required)
array(
'id' => 'example-field-file',
'name' => 'A file input',
'type' => 'file',
),
- 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