How to Disable Automatic Plugin and Theme Updates on your Child Sites

In WordPress 5.5 which is on track to be released in August of this year, there will be a new feature for automatic plugin and theme updates. Currently, the featured plugin is not merged into WordPress core but is on track to be merged for the WordPress 5.5 release.

Automatic updates for plugins and themes feature will do anything by default since it is a manual opt-in from the plugin list screen on a site. Since you are already using MainWP to deal with plugin and theme updates on all connected child sites then to stop clients from setting plugins or themes to be automatically updated then it is recommended to use the Code Snippets extension and which will save those code snippets to your connected child sites.

The code snippet to disable all automatic plugin updates is;

add_filter( 'wp_plugins_auto_update_enabled', '__return_false' )

The code snippet to disable all theme automatic updates is;

add_filter( 'wp_themes_auto_update_enabled', '__return_false' )

To explain why automatic plugin and theme updates are not a good idea then you only need to look at the breaking changes in the recent WooCommerce 4.0 release or the very recent Yoast SEO 14.0 release. A whole range of plugin updates can cause issues on a site where it is updated on and it is always worth testing plugin and theme updates on a staging site before running those same updates on a child site.

The code snippets examples both use filters which will remove the UI for plugins or theme updates so that element will not show in the plugin list or the appearance themes page on the site.

Manage all your WordPress sites with the MainWP Dashboard

WordPress Management for Professionals

Are you ready to go Pro?

All MainWP Pro Extensions are available through one of our convenient bundled packages.

Being able to remove the automatic updates from showing in the UI or plugins or theme will stop clients from enabling it by mistake for plugins or theme which should not be automatically updated on the child site.

Looking for something?

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.