A Radio Palette field can be inserted in:
- an Admin Page, as an option or a user_meta
- a User Profile, as a user_meta
- a Metabox, as a post_meta
The code below is used to generate this section in an Admin Page, for an option:
Copy to Clipboard
A Radio Palette inherit from a Field, and an Item, then all settings described in Field Settings and Item Settings are also used.
Specific settings for Radio Palette:
Radio Palette Settings | Description |
---|---|
options array / Default: array( array(“#69D2E7″,”#A7DBD8″,”#E0E4CC”,”#F38630″,”#FA6900″,), array(“#D9CEB2″,”#948C75″,”#D5DED9″,”#7A6A53″,”#99B2B7”,), array(“#004358″,”#1F8A70″,”#BEDB39″,”#FFE11A”,”#FD7400″,), ) |
A 2-dimensional array containing hex color values sets |