WordPress.org

Forums

WP-DownloadManager
[resolved] Upload Access for Non-Admins? (2 posts)

  1. thyreos
    Member
    Posted 1 year ago #

    Is there a way to make this plugin accessible to non-admins so that other roles (editor for example) can add and edit files?

    https://wordpress.org/plugins/wp-downloadmanager/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Line 1544: https://github.com/lesterchan/wp-downloadmanager/blob/master/wp-downloadmanager.php

    Replace $role = get_role('administrator'); with $role = get_role('editor'); and deactivate/activate the plugin again

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.