Disable wordpress version update notification

This snippet hides the WordPress version update message that is displayed when there is a new version of WordPress available.

Ad this to your functions.php file.

*note – in order for not to hide the update availability for administrators, we have have added the conditional tag: current_user_can() but let’s hide the message for everybody but the admins.