Created
June 18, 2021 13:55
-
-
Save JeroenSormani/53fee7aec57044c98037d5ad402717ab to your computer and use it in GitHub Desktop.
Remove the "Added to cart" notice in WooCommerce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // For implementation instructions see: https://aceplugins.com/how-to-add-a-code-snippet/ | |
/** | |
* Remove add to cart notice in WooCommerce | |
*/ | |
add_filter( 'wc_add_to_cart_message_html', '__return_empty_string' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment