Skip to content

Instantly share code, notes, and snippets.

@noellesteegs
Created August 3, 2020 13:08
Show Gist options
  • Save noellesteegs/905bf2894a29d6cb5ca11aad50143f9a to your computer and use it in GitHub Desktop.
Save noellesteegs/905bf2894a29d6cb5ca11aad50143f9a to your computer and use it in GitHub Desktop.
Disable add to cart message in WooCommerce
add_filter( 'wc_add_to_cart_message_html', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment