-
Notifications
You must be signed in to change notification settings - Fork 124
Code field
Ajit Bohra edited this page Oct 11, 2016
·
13 revisions
A textarea field for code
- id (string) (required)
- name (string) (required) Field display name. Used as field label.
- type 'textarea_code' (string) (required)
- rows (int) (optional) - The amount of rows the textarea code field should have - used to adjust the height.
array(
'id' => 'example-field-textarea-code',
'name' => 'A code textarea field',
'type' => 'textarea_code',
'rows' => 6,
)
- 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