Disable the added to cart message in WooCommerce

Disable the added to cart message in WooCommerce on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'wc_add_to_cart_message_html', '__return_false' );