Skip to content

Instantly share code, notes, and snippets.

@renzoster
Created July 6, 2019 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renzoster/309e573dc992150bcdbfd10f2abfe48e to your computer and use it in GitHub Desktop.
Save renzoster/309e573dc992150bcdbfd10f2abfe48e to your computer and use it in GitHub Desktop.
Disable message added to cart on WooCommerce
<?php
add_filter( 'wc_add_to_cart_message_html', '__return_null' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment