Remove Settings Capability for Editors
I’m developing a site for a client (Worpdress 4.8.1) and I’m using bbPress 2.6-beta-2 to handle forums. The client’s main administrative account uses the WordPress role “Editor” and the bbPress role “Keymaster.” I want my client to keep most of the Keymaster capabilities, but I want to remove the Forum Settings page from their admin dashboard menu. I’m wondering if this can be done with the hide_menu() function.
For native wordpress pages, the function looks something like this:
remove_submenu_page( ‘<filename>.php’, ‘<filename>.php’ );
Can this work with the bbPress Settings page, and if so, which filename should appear in the function?
- You must be logged in to reply to this topic.