get all the existing rules.
-
Your plugin needs to get all the existing rules. In my case I have others, ex. Provider that is not recognized by the plugin.
provider in /var/www/vhosts/domain/httpdocs/wp-content/plugins/white-label-cms/wlcms-plugin.php on line 129
$roles = array( ‘administrator’ => 25 , ‘editor’ => 20, ‘author’ => 15, ‘contributor’ => 10, ‘subscriber’ => 5 );
$needsToBe = $roles[$needsToBe];
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get all the existing rules.’ is closed to new replies.