Support » Plugin: Adminimize » [Plugin: Adminimize] Hide Media Library

  • Resolved Gtantra


    Im trying to Hide the Media Library Button in “Add Media”. I’ve used firebug and found the code is li id="tab-library" .

    But it does’nt work when I add #tab-library

    There must be some thing Im missing out .
    Kindly advice whats the code I need to insert to hide Media Library in Add Media.
    Thank You

Viewing 4 replies - 1 through 4 (of 4 total)
  • BTW i’ve checked (ticked) “Deactivate for Author” and “Deactivate for
    Contributor” as I want it hidden for those. I’ve actually used the plugin to hide other fields . But im not able to get the right code to hide Media Library (Add Media)in New Post

    Hi This is the line that I need hidden . Can anyone help pls ?

    <a href="/wp-admin/media-upload.php?post_id=1776&tab=library">Media Library</a>

    Plugin Author Frank Bueltge


    add a custom option to the “Global Options”. Only this was load on all pages in backend.
    Use the ID #tab-library as Id and give a name, like Tab MediaLibrary.
    After save this option you can hide this for different roles.

    Yes, It works . Thanks a lot for your help Frank . Much appreciated.
    Love the plugin !!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Adminimize] Hide Media Library’ is closed to new replies.