Change WooCommerce message after adding product to cart
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
function custom_add_to_cart_message() { | |
$message = 'New message' ; | |
return $message; | |
} | |
add_filter( 'wc_add_to_cart_message_html', 'custom_add_to_cart_message' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment