WooCommerce version 4.1 adds a new top-level menu item labelled Marketing which links to the new WooCommerce Marketing Hub. If you’d like to remove the Marketing Hub from your WordPress installation, the following filter can be applied.

add_filter( 'woocommerce_marketing_menu_items', '__return_empty_array' );

The filter above can be inserted using the Code Snippets plugin, a child theme or a custom plugin. If using the Code Snippets plugin, set the function to run in the site administration area.

Leave a Reply

Your email address will not be published. Required fields are marked *