WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Allowing editor access plugins (2 posts)

  1. berseck
    Member
    Posted 3 years ago #

    There is any easy way to give Editor to edit my installed plugins?? only the preferences I mean.

    I have multi site and I don't wanna give lots of ppl access only content that admin can do or super admin

    There is any easy way to only enable editor to change plugins... like wp-pools or something like that??

    Thanks,
    Thiago Cruz

  2. berseck
    Member
    Posted 3 years ago #

    for those how would like to know how...

    /* USERS CAN */
    get_role('editor')->add_cap('read');
    get_role('editor')->add_cap('manage_polls');
    get_role('administrator')->add_cap('manage_polls');

    As an example

    Cheers,
    Thiago Cruz

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.