Facebook-f X-twitter
EncodeByte
Need Help!
  • How-To
    How-ToShow More
    How To Redirect Old Website To New Domain Without Losing SEO | 301 Domain Redirect
    By
    Franchbabu
    How to Fix the “Windows Cannot Be Installed to This Disk” Error
    By
    EncodeMore
    How to Check Your Laptop’s Battery Health: A Step-by-Step Guide
    By
    EncodeMore
    How to Become a Freelancer in 2025: A Comprehensive Guide.
    By
    EncodeMore
    How to Activate Windows Legally and For Free (100% Working)
    By
    EncodeMore
  • Web Development & Coding
    Web Development & CodingShow More
    Hide Any Plugin from the WordPress Dashboard
    By
    Franchbabu
    How to Become a Freelancer in 2025: A Comprehensive Guide.
    By
    EncodeMore
    🚀 10 Reasons Why Hostinger Is the Best Web Hosting Platform for Speed, Security & Affordability
    By
    Franchbabu
    How to Add “Made with ❤️” to Your WordPress Footer (No Plugin Needed)
    By
    EncodeMore
    WordPress Redirect After Login: How to Set It Up
    By
    EncodeMore
  • Code Snippets & Scripts
    Code Snippets & ScriptsShow More
    Hide Any Plugin from the WordPress Dashboard
    By
    Franchbabu
    How to Hide a Class in WordPress (Easy CSS & Admin Tips)
    By
    EncodeMore
  • Website Design & UX
    Website Design & UXShow More
    10 Web Design Mistakes That Are Killing Your User Experience (and How to Fix Them)
    By
    Franchbabu
  • Make Money Online
    Make Money OnlineShow More
    How to Become a Freelancer in 2025: A Comprehensive Guide.
    By
    EncodeMore
    Top In-Demand Freelancer Niches for 2026 – Fast Growth Ahead!
    By
    EncodeMore
    Website related skillsets that you shoud have
    By
    EncodeMore
    Top Sites Like Fiverr: The Best Fiverr Alternatives for Freelancers
    By
    Franchbabu
    Best Telegram Channels For Free Paid Courses
    By
    Franchbabu
  • 🤩 Trending:
  • How-To Guides
  • WordPress & Website Development
  • Web Development & Coding
  • Windows & Software Fixes
  • Tech Tips, Tools & Tutorials
  • Computer Tips & Tricks
Font ResizerAa
EncodeByteEncodeByte
Search
  • How-To
  • Web Development & Coding
  • Code Snippets & Scripts
  • Website Design & UX
  • Make Money Online
Follow US
Made by ThemeRuby using the Foxiz theme. Powered by WordPress
Code Snippets & ScriptsWordPress Tips & Tricks

Hide Any Plugin from the WordPress Dashboard

Last updated: November 25, 2025 11:46 pm
By
Franchbabu
Share

If you manage client websites or run a multi-user WordPress setup, sometimes you need to hide specific plugins so no one accidentally disables or edits them. The good news is you can hide any plugin from the WordPress dashboard without breaking your site.

Contents
  • Why Hide Plugins in WordPress?
  • Method 1: Hide Plugins Using a Simple Code Snippet (Recommended)
    • Hide a Specific Plugin
    • How to find the plugin path
  • Method 2: Completely Hide “Plugins” Menu for Editors (Optional)
  • Is It Safe?
  • SEO Tip
  • Conclusion

Here’s the easiest and safest method.

To hide a specific plugin from the WordPress Dashboard’s “Installed Plugins” list, you can use a code snippet within a must-use plugin or your theme’s functions.php file.

Why Hide Plugins in WordPress?

You may want to hide a plugin if:

  • Clients should not deactivate important plugins
  • You want to protect security plugins
  • You use custom-built or premium scripts you don’t want visible
  • You run a membership site where admins should see fewer options

Hiding plugins doesn’t disable them. They continue working in the background while staying invisible inside Plugins > Installed Plugins.

Method 1: Hide Plugins Using a Simple Code Snippet (Recommended)

You can add a small snippet to the theme’s functions.php or use a “Code Snippets” plugin.

Hide a Specific Plugin

Replace the plugin folder name inside the array.

function encodebyte_hide_plugins( $plugins ) {
    if ( is_admin() ) {
        $plugins_to_hide = array(
            'wordfence/wordfence.php',  
            'yoast-seo/wp-seo.php'
        );

        foreach ( $plugins_to_hide as $plugin ) {
            if ( isset( $plugins[ $plugin ] ) ) {
                unset( $plugins[ $plugin ] );
            }
        }
    }
    return $plugins;
}
add_filter( 'all_plugins', 'encodebyte_hide_plugins' );

How to find the plugin path

  1. Go to /wp-content/plugins/
  2. Open the plugin’s folder
  3. Find the main file name (example: plugin-folder/plugin.php)

Add that into the array and the plugin will disappear from the dashboard.


Method 2: Completely Hide “Plugins” Menu for Editors (Optional)

If you want to block non-admins from even seeing the Plugins menu:

function encodebyte_remove_plugin_menu() {
    if ( ! current_user_can( 'administrator' ) ) {
        remove_menu_page('plugins.php');
    }
}
add_action( 'admin_menu', 'encodebyte_remove_plugin_menu' );

Admins will still see everything. Editors, authors, and other roles won’t.

Is It Safe?

Yes, hiding plugins is safe as long as:

  • You don’t hide plugins you need to update manually
  • You keep track of what you hide
  • You still check updates regularly

The plugin will keep working normally. It’s only hidden from the list.

SEO Tip

Hiding plugins does not affect SEO or site speed. It only modifies what appears in the dashboard.


Conclusion

If you want cleaner dashboards, added protection, or peace of mind for client websites, this simple code-based method is the easiest and most effective way to hide plugins in WordPress.

Share This Article
Facebook Whatsapp Whatsapp LinkedIn
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Categories

Themes & Customization

1 Article

Troubleshooting & Fixes

2 Articles

WordPress Tips & Tricks

8 Articles

WordPress Tutorials

5 Articles

Must Read

Web Development & CodingWordPress & Website Development

Essential Things To Do After Installing WordPress – Must Read!

How-To GuidesWordPress & Website Development

How to Get Google Adsense Approval Quick & Easy: Ultimate Guide 2023

WordPress Tips & TricksTroubleshooting & Fixes

Publishing Failed: The Response Is Not a Valid JSON Response — Fix It Fast

Computer Tips & TricksHow-To Guides

How to Repair a Bad Hard Disk (Hard Disk Low Level Format)

  • I need help with …

Starting a Blog

WordPress SEO

WordPress Performance

WordPress Errors

WordPress Security

Got A Question?

Need Expert Help?
Let CodeXcool power up your website with
custom WordPress design, speed optimization, and SEO!
🚀 Get Started

You Might also Like

How-To GuidesCode Snippets & ScriptsWordPress Tips & Tricks

How to Hide a Class in WordPress (Easy CSS & Admin Tips)

Website Design & UXWordPress Tips & Tricks

10 Web Design Mistakes That Are Killing Your User Experience (and How to Fix Them)

15 Best WordPress Tips For Beginners
WordPress Tips & TricksWordPress Tutorials

WordPress Beginner Tutorial | 15 Best Tricks in 2025

Web Development & CodingPerformance OptimizationWordPress Tips & Tricks

🚀 10 Reasons Why Hostinger Is the Best Web Hosting Platform for Speed, Security & Affordability

EncodeByte

© 2025 EncodeByte – Discover expert tech tutorials, coding guides, troubleshooting solutions, and free tools. Simplify technology, build smarter, and learn faster with us.

About Us / Privacy Policy / Contact Us

Latest News

  • Coming Soon
  • Coming Soon
  • Coming Soon
  • Coming Soon

Services

  • Coming Soon
  • Coming Soon
  • Coming Soon
  • Coming Soon

Looking for custom web development or maintenance?

Check out our parent team at [CodeXcool.com] 🚀
— Let's build together!
Request a Quote
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?