Disabling WordPress Core, Theme and Plugin Updates From Functions.php

sometimes stupid core updates breaks the plugins or the otherway around stupid plugin updates breaks the core.

Doesnt matter. add this code to the functions.php and stop those updates.

Only minor WordPress bugfix or secu─▒rity updates will continue.

 

add_filter( 'allow_major_auto_core_updates', '__return_false' );
add_filter( 'auto_update_plugin', '__return_false' );
add_filter( 'auto_update_theme', '__return_false' );

 

if you want to disable every update ! Literaly all updates !

use this code;

 

add_filter( 'automatic_updater_disabled', '__return_false' );

this will disable every update major or minor everything.

 

 

 

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments