Created
November 6, 2022 15:34
-
-
Save AndreFCAmorim/2dedc167e12942ccc0a8dc2373f7cb0e to your computer and use it in GitHub Desktop.
Disable Automatic Updates on WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Disable core auto-updates | |
add_filter( 'auto_update_core', '__return_false' ); | |
// Disable auto-updates for plugins. | |
add_filter( 'auto_update_plugin', '__return_false' ); | |
// Disable auto-updates for themes. | |
add_filter( 'auto_update_theme', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment