Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Turn off automatic plugin and theme updates

WordPress no longer updates plugins and themes by itself, and the “Enable auto-updates” links go away. Useful when you test updates on staging first.

  • Type PHP
  • Runs Everywhere (runs as WordPress loads)
  • Category Developer tools
  • Tested with WordPress 7.1
PHP
<?php

add_filter( 'auto_update_plugin', '__return_false' );
add_filter( 'auto_update_theme', '__return_false' );
add_filter( 'plugins_auto_update_enabled', '__return_false' );
add_filter( 'themes_auto_update_enabled', '__return_false' );

Good to know

Security updates then wait for you. Keep an eye on the Updates screen.

In these packs

  • Turn off more: More features you may not need: sitemaps, trackbacks, automatic updates, pattern suggestions.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.