Created
April 23, 2020 02:33
-
-
Save MarceloGlez/bf4ad9ed225fad7b33a18663c296dd36 to your computer and use it in GitHub Desktop.
Edita el mensaje "Se ha añadido al carrito" en 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
/*Edita el mensaje "Se ha añadido al carrito" en Woocommerce*/ | |
add_filter( 'wc_add_to_cart_message_html', 'marceloglez_custom_add_to_cart_message' ); | |
function marceloglez_custom_add_to_cart_message() { | |
$message = '¡Muchas gracias!, solo queda finalizar la compra.' ; | |
return $message; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment