Remove Automatic Plugin Updates WordPress 5.5

Another new feature loaded with issues, is the WordPress 5.5 auto updates.

There are here only cons to this idea:

  • Plugins will now update randomly, it could happen at any time
  • You may have a client mid purchase, this could stop that
  • You may have a client filling out a form/converting
  • This could very well break your site
  • It will start to send you emails, which you at present cannot disable
  • The concept is flawed in every way

How to remove it:

Edit your themes functions.php, ideally using a child theme

/* Disable Auto Updates */
add_filter( 'plugins_auto_update_enabled', '__return_false' );
add_filter( 'themes_auto_update_enabled', '__return_false' );

What this code does

Line 1: Is Just a comment, optional
Line 2: Disables the plugin updates and the UI call to action in the plugins section
Line 3: Disables the auto theme updates