/acorn-settings-roles

Configuration-based WordPress role and capability management

Primary LanguagePHPMIT LicenseMIT

Acorn Roles

Provides Acorn projects with configuration options for cached WordPress role and capability management.

Requirements

Sage >= 10.0

PHP >= 7.3

Composer

Installation

Install via composer:

composer require tiny-pixel/acorn-settings-roles

After installation run the following command to publish the starter configuration file to your application:

wp acorn vendor:publish

Regenerating cache

Roles are cached with no expiration. If you make changes to your configuration you will need to regenerate the cache in order for them to take effect.

Run the following command to regenerate the cache:

wp acorn optimize:clear

Happy permissions'ing!