WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hide mu-plugins list (2 posts)

  1. Amit Sukapure
    Member
    Posted 6 months ago #

    Hello,

    I'm using mu-plugins, http://codex.wordpress.org/Must_Use_Plugins.
    These are showing in plugins.php, http://d.pr/i/JIvX.
    Is there any way to hide it?

  2. Amit Sukapure
    Member
    Posted 6 months ago #

    I found the answer. Hope it will help to someone,

    add_filter( 'show_advanced_plugins', 'hide_plugin_list', 10, 2 );
    function hide_plugin_list($show, $type)
    {
    if($type == 'mustuse') //if type is mustuse
    return false; //return false;
    }

Reply

You must log in to post.

About this Topic