Textarea

The Textarea field accepts any form of multi-line string input, including custom HTML.

textarea

Attributes 

AttributesTypeRequiredDescription
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.
subtitlestring OptionalSubtitle display of the option, situated beneath the title.
descstringOptionalDescription of the option, appearing beneath the field control.
typestringRequiredValue identifying the field type. For Textarea here we set value textarea
colintOptionalThe proportion of columns that display field on 12 columns per row.
rowintOptionalNumbers of text rows to display. Default value is 6
defaultstringOptionalDefault text to display inside the textarea field.
placeholderstringOptionalA short hint that describes the expected value of an input field.

Example Declaration