Forked from acanza/incluye-nif-en-email-confirmacion-pedido.php
Created
October 29, 2016 00:44
-
-
Save navalon/7c4042bb987d78ce29b4f1a780e7c007 to your computer and use it in GitHub Desktop.
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
/** | |
* Incluye el campo NIF en el email de notificación del cliente | |
*/ | |
add_filter('woocommerce_email_order_meta_keys', 'muestra_campo_personalizado_email'); | |
function muestra_campo_personalizado_email( $keys ) { | |
$keys[] = 'NIF'; | |
return $keys; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment