Info

The Info field comes in several varieties to display information as normal, info warning and success formats.  Choose between the WordPress styles, or the non-style.

info

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 Info field here we set value info
stylestringOptionalSets the mode of the info box.  Accepts: info warning success error
iconstringOptionalName of an Dashicons icon font to use in the info box.

 Example Declaration