I just use this remove that feature that really has no function to a site that’s been “LIVE” for years
// Remove Lauch Store Tab
add_filter( ‘woocommerce_admin_features’, function( $features ) {
$features = array_filter( $features, function( $value ) {
return $value !== ‘launch-your-store’;
});
return $features;
}, 10 );
// Remove WooCommerce “LIVE” option from admin bar
add_action( ‘admin_bar_menu’, ‘remove_wc_site_visibility_badge’, 999 );
function remove_wc_site_visibility_badge( $wp_admin_bar ) {
// Remove the ‘Live’ WooCommerce badge by ID
$wp_admin_bar->remove_node( ‘woocommerce-site-visibility-badge’ );
}