Forked from JeroenSormani/woocommerce-remove-added-to-cart-notice.php
Created
October 15, 2021 15:59
-
-
Save Yuri-Lima/661fd3041ce77dfcb9baa8f7ff4ad72e to your computer and use it in GitHub Desktop.
Remove the "Added to cart" notice in WooCommerce
This file contains 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