Disable WordPress Update Notifications

Did you ever deliver a working solution to a client and he managed to screw things up by updating wordpress version. It happens frequently to have plugins installed which are not made to be compatible with an update and that is going to transform into a nightmare . So here’s a suggestion on how to disable wordpress update notifications (core only, not plugins), add this into your theme functions.php :

add_filter( ‘pre_site_transient_update_core’, create_function( ‘$a’, “return null;” ) );

Recent Posts


Back to Top