Skip to content

Instantly share code, notes, and snippets.

@MarceloGlez
Created April 23, 2020 02:29
Show Gist options
  • Save MarceloGlez/9117bb33ca0794f07e939bde9df7b4ad to your computer and use it in GitHub Desktop.
Save MarceloGlez/9117bb33ca0794f07e939bde9df7b4ad to your computer and use it in GitHub Desktop.
Para eliminar el mensaje "Producto x se ha añadido al carrito"que viene por defecto en Woocommerce
/*Elimina mensaje se ha añadido al carrito en Woocommerce*/
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