Change WordPress user roles and capabilities Forums Bug Reports Not hiding the admin menü point from plugin “PublishPress Revisions”

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #8333
    [email protected]


    thanks for the great plugin. I tried to hide the admin menus from the mentioned plugin via the “Admin Menu” options. The menupoints are gone, except the first instance “Revisions” in the left panel of the admin menu bar. The child menus are gone. I selected all menupoints to be gone but it stays there:

    Revisions > Selected but still visible, but when clicked redirected to Dashboard
    –> Child Menu 1 > Selected and not displayed
    –> Child Menu 2 > Selected and not displayed
    –> Child Menu 3 > Selected and not displayed
    –> Child Menu 4 > Selected and not displayed

    It seems that there is an issue? With other plugins it works without problems. 🙂

    Thanks for your help!



    Revisions plugin creates admin menu item with a ‘read’ capability, which is granted to any role with access to wp-admin.

    It seems that small workaround may help you. Leave all Revisions admin menu items blocked for your role via “Admin menu” as you did and add to the active theme functions.php file this code:

    add_filter('revisionary_add_menu', 'ure_revisionary_off', 10, 1 );
    function ure_revisionary_off( $edit_any ) {
        return false;

    It fully hides ‘Revisions’ menu for editor role in my test.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.