woocommerce/docs/code-snippets/disabling_marketplace_sugge...

646 B
Raw Blame History

post_title menu_title current wccom url
Disabling Marketplace Suggestions Programmatically Disabling marketplace suggestions https://woocommerce.com/document/woocommerce-marketplace-suggestions-settings/#section-6

For those who prefer to programmatically disable marketplace suggestions that are fetched from woocommerce.com, add the woocommerce_allow_marketplace_suggestions filter to your themes functions.php or a custom plugin.

For example:

add_filter( 'woocommerce_allow_marketplace_suggestions', '__return_false' );

This filter will completely remove Marketplace Suggestions from your WooCommerce admin.