Not letting me edit settings on administrator role
-
I’m trying to edit the settings for asset clean up, but I get this message when clicking on it. I currently have an administrator role and have added the code to my functions.php file as the site said, but it still won’t let me access it. Here’s the message I’m getting :
Sorry, you are not allowed to access this page.
Asset CleanUp requires “administrator” role and the ability to activate plugins in order to access its pages.
Your current role(s): administratorThe value (in green color) can be changed if you use the following snippet in functions.php (within your theme/child theme or a custom plugin):
add_filter('wpacu_access_role', function($role) { return 'your_role_here'; });
If the snippet is not used, it will default to “administrator”.
Possible values: manage_options, activate_plugins, manager etc.
Read more: https://www.ads-software.com/support/article/roles-and-capabilities/#summary-of-roles
- You must be logged in to reply to this topic.