Hello Dev,
Today, i we will show you how to disable automatic updates plugin and theme in wordpress. This article will give you simple example of how to disable automatic updates plugin and theme in wordpress. you will learn how to disable automatic updates plugin and theme in wordpress. So let’s follow few step to create example of how to disable automatic updates plugin and theme in wordpress.
need to add two filter in your theme functions.php file
Disable updates plugin:
add_filter( 'auto_update_plugin', '__return_false');
Disable updates theme:
add_filter( 'auto_update_theme', '__return_false');