Last active
August 29, 2015 14:04
-
-
Save acanza/adad4bf43695dd65386e to your computer and use it in GitHub Desktop.
Incluye el campo NIF en el email de notificación del cliente 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
/** | |
* 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