Before any Field array is written, which will represent the individual options on the options panel, a section must be created. The section array sets up a tab on the side of the Redux options panel, where the Field arrays will ultimately go. The setSections function Section arrays are declared in the setSections function of your […]
Articles Tagged: fields
Using Permissions
The permissions argument is useful for restricting access to certain fields or sections that require a specified user role. For example, if the options panel is set via page_permissions to allow users with an editor role or higher to view and set options, but you’d prefer some options or sections be available only to administrators, […]