WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] mu-plugins (5 posts)

  1. Kuldeep M
    Member
    Posted 4 years ago #

    hello...

    I would like to have few plugins installed only for the Super Admin, have uploaded them in 'mu-plugins folder', but they are not being displayed in the DashBoard, not even for the Super Admin...

    any suggestions...?

  2. If you dropped *folders* in the mu-plugins folder, they don't get read. has to be actual files.

    If you want to keep them in folders, then make a file with an include.

  3. Kuldeep M
    Member
    Posted 4 years ago #

    thank you for your swift reply...

    can you please guide on how to create a "file with an include"...?

  4. Ryan_B
    Member
    Posted 4 years ago #

    Just make a php file in the mu-plugins folder, then it would look something like this:

    <?php
    include ('plugin_folder_name/file_name.php');
    ?>

    You would have an include line for each file.

  5. Michael Bishop

    Posted 4 years ago #

    Also note, plugins in mu-plugins are active across the network, not just for the super-admin. Every site they will be executed. They might not show up in any menus, but they are certainly there.

Topic Closed

This topic has been closed to new replies.

About this Topic