From the course: WordPress: Everything about Plugins
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
How to secure plugins with mu-plugins - WordPress Tutorial
From the course: WordPress: Everything about Plugins
How to secure plugins with mu-plugins
- [Instructor] If you've got a team of people that have access to your website, you may want to be able to protect certain plugins. Some plugins are important for security. Some are vital for the main function of your site. For example, an e-commerce plugin will be essential for a shop website to work. There's a way that you can essentially lock a plugin from being deleted via the backend, the way that we just learned how to do. Must-use plugins, or Mu-plugins, are installed in a folder called mu-plugins, which must go in the WP Content folder. In your site files, go to the WP Content folder and create a new folder with the name mu-plugins. Confirm or save the new folder, and then move the plugins that you want to protect into this folder. So I'll go into my currently installed plugins folder and find the one I want to save, which is going to be Health Check, and I'll drag it into the mu-plugins folder. All right, I…