hide wordpress core update messages

Great for when you are managing a clients website for them and don’t want them updating something without your knowing.

function wp_hide_update() {
    remove_action('admin_notices', 'update_nag', 3);
}
add_action('admin_menu','wp_hide_update');