Group

The Group field is a assemblage of other option fields

group

Attributes

AttributesTypeRequiredDescription
idstringRequiredRequired. Unique 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 Group field here we set value group
defaultstring/int or arrayOptionalDefault value of the custom field.
layoutstringOptionalDefine layout template of the custom field.
colintOptionalThe proportion of columns that display field on 12 columns per row.

 Example Declaration