The Selectize field displays information in a drop-down field in both single and multi-select formats



idstringRequiredUnique ID identifying the field. It will be used as meta_key. Must be different from all other field IDs.
titlestringRequiredDisplays title of the option.
subtitlestringOptionalSubtitle display of the option, situated beneath the title.
descstringOptionalDescription of the option, appearing beneath the field control.
typestringRequiredValue identifying the field type. For Selectize field we set the value selectize
defaultstringOptionalKey value from the options array to set as default.
colintOptionalThe proportion of columns that display field on 12 columns per row.
optionsarrayRequiredArray of options in key pair format. The key represents the ID of the option. The value represents the text to appear in the selector.
multipleboolOptionalFlag to set the multi-select variation of the field. Default value is false
datastringOptionalValue to populate the selector with WordPress values.  Accepts: sidebar menu taxonomy post types
data_argsarrayOptionalWordPress arguments for the specific data to be retrieved.
placeholderstringOptionalText to display in the selector when no value is present.
allow_clearboolOptionalAllow to clear choices by doble click. Default value is false

 Example Declaration