Skip to:
Content
Pages
Categories
Search
Top
Bottom

Don’t Want to show the trash and Spam link in admin


  • numan_shaikh
    Participant

    @numan_shaikh

    Can any one please help me.
    I don’t want to show the trash and spam link in my custom role admin ?? I have created the custom role for teacher.

    How can i do this please help me ..

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    I didn’t test, but I suppose it’s sufficient to remove the delete_xyz capabilities from this role to remove the trash and the moderate_comment for the spam ?
    Pascal.


    Robkk
    Moderator

    @robkk

    @numan_shaikh

    Place your custom role code in a gist file at gist.github.com and post the link to it here.

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