Also, moved `woocommerce_hide_update_notice` outside those exclusions in case it would get triggered from cron or via AJAX.