Last active
November 9, 2022 10:40
-
-
Save mohsinworld/a57414d90630d5f1473166637fdd813b to your computer and use it in GitHub Desktop.
Need to add this code into functions.php file inside the themes folder
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
// 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