Blogs

Disable Plugins, Theme for Update and Installation

How to Disable Plugin and Theme Update and Installation on WordPress

So, again you are here to learn something new about wordpress website isn’t it.

Here’s a short tip that helps you to restrict access to the plugin and them updating capability within wordpress, as well as remove the ability for users to install new plugins and themes.

Why would you want to do this? Perhaps you’ve set up a WordPress site for a client and you don’t want them mindlessly upgrading without determining the compatibility of their theme or plugins. Poorly executed upgrades can cause a host of issues that you will more than likely be called upon to fix.

Add this constant somewhere to your wp-config.php file to disable plugin and theme updates/installation:

define('DISALLOW_FILE_MODS',true); // code for disable installation theme and plugin.

Author

Faiz Alam

I'm Professional Web developer currently focusing on new product, ideas, markets differentiation. And providing quality products to schools and organizations, e.g. Online School Management System, Online course Website like Udemy etc. I believe in creating own destiny. I am a positive thinker and a firm enthusiast of the thought “Efforts are never wasted!”

Leave a comment

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

Open chat
1
Hi 👋
Can I help you?