Jun
20
2013

Disable upgrade notification

Perfect for those ‘special’ inherited websites that aren’t forward compatible to prevent clients from breaking a website!

Just add this to your theme functions.php file and rest a bit easier!

add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );

Source: http://wp-snippets.com/disable-wordpress-update/

Leave a comment