• Resolved matt9900

    (@matt9900)


    Hi,
    Is it possible to hide the plugin functionalities from the frontend users?
    We don’t want the customers and contributors to be able to see and organize the the files uploaded on the site.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wickedplugins

    (@wickedplugins)

    Hi @matt9900,

    When you say “frontend” users, are you referring to users belonging to a certain role such as subscribers?

    There currently isn’t a way to hide the folder functionality based on role; however, I think you could achieve this by using the admin_body_class filter, checking the user role, and then removing the wicked-object-folder-pane class for roles that you don’t want the folder functionality to be available for. Removing that body class will completely hide the folder pane.

    I hope this helps. Let me know if you have questions!

    Thread Starter matt9900

    (@matt9900)

    You are correct. Thank you

    • This reply was modified 5 years, 6 months ago by matt9900.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide the folders from non-admin users’ is closed to new replies.