The following field types are available when creating settings using the Settings API. The link takes you to user guide documentation for that field type.
Field Type | Description |
---|---|
Card | Creates radio inputs in a stylized card. |
Checkbox | Creates a checkbox field. |
Checkbox and Select | Creates a complex field where a hidden drop-down field is displayed when the checkbox is checked. |
Custom Field | Learn how to create custom field types. |
Dynamic Field Map | Creates a set of fields that allow the user to map their form fields to custom keys (fields) entered by the user. |
Field Map | Creates a set of fields that allow the user to map their form fields to a custom field selected from a predefined list. |
Field Select | Creates a drop down field populated with fields from the form. |
Generic Map | Creates a set of fields that allow the user to map custom keys to custom values, based on submission or other data. |
Hidden | Creates a hidden field. |
Post Select | Creates a searchable drop down field populated with posts from specific post type. |
Radio Button | Creates a radio button field. |
Save Button | Creates a save button. |
Select | Creates a select/drop-down field. |
Select Custom | Creates a select/drop-down field which also allows users to enter a custom value. |
Simple Condition | Creates a complex set of fields allowing users to specify a condition (i.e. Country is Brazil). |
Text | Creates a text field. |
Textarea | Creates a textarea field. |