How To Disable Please Update Now Message In WordPress Dashboard

Posted by


When a new version of WordPress is available, update now WordPress message is displayed on your dashboard. It is always better so that you can identify the latest released version and upgrade the installed. But many wordpress users wants to disable this message on their dashboard. For that you need to add this code in functions.php file of your theme:

if ( !current_user_can( ‘edit_users’ ) )
add_action( ‘init’, create_function( ‘$a’, “remove_action( ‘init’, ‘wp_version_check’ );” ), 2 );
add_filter( ‘pre_option_update_core’, create_function( ‘$a’, “return null;” ) );

That’s it!


Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.