With the release of WooCommerce version 9.3.3 a new useless element has appeared in the WordPress admin bar – “Live” button which symbolizes that the WooCommerce built-in “Coming Soon” mode has been disabled.
While many of the WordPress users will not pay much of attention to it, for some it could seem confusing, unnecessary or misleading since WooCommerce will show “LIVE” also on the development and staging environments.
Luckily the “Live” button can be removed with a few lines of code which you need to add to your theme functions.php file or a must-use plugin:
/*Remove WooCommerce "live" button from the WordPress admin bar*/
add_action( 'admin_bar_menu', function() {
global $wp_admin_bar;
$wp_admin_bar->remove_node( 'woocommerce-site-visibility-badge' );
}, 100 );