Skip to content

Instantly share code, notes, and snippets.

@fearlex
Created September 7, 2022 20:03
Show Gist options
  • Save fearlex/e5af6ea5ebc673b6ded0fa8c278d41a7 to your computer and use it in GitHub Desktop.
Save fearlex/e5af6ea5ebc673b6ded0fa8c278d41a7 to your computer and use it in GitHub Desktop.
Disable Wordpress Auto Update Themes, Plugin & Plugin UI
// Disable Plugin Automatic Updates
add_filter( 'auto_update_plugin', '__return_false' );
// Disable Themes Automatic Updates
add_filter( 'auto_update_theme', '__return_false' );
// Disable plugins auto-update UI elements.
add_filter( 'plugins_auto_update_enabled', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment