Access plugin setting from users with less capabilities
-
I wanted to give access to meta pixel dashboard for users with editor role, not only admins. I discovered that in FacebookWordpressSettingsPage.php registration in method
addMenuFbeusesmanage_optionscapability necessary for viewing link in settings.
It seems to me that there is no way to change this in updatable way – I can’t unhook settings registration hook onadmin_menu, sinceFacebookWordpressSettingsPageclass is not available, nor I see any other way to do it.
Could you please provide a way for developer to give users with different capabilities/roles access to admin?
The topic ‘Access plugin setting from users with less capabilities’ is closed to new replies.