Created
January 21, 2017 12:36
-
-
Save swoboda/c44d61c20ddc986dfb6863ee5c7c28c6 to your computer and use it in GitHub Desktop.
vat_number_emails
This file contains hidden or 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
<?php | |
add_filter( 'woocommerce_email_order_meta_keys', 'wpdesk_vat_number_display_email' ); | |
/** | |
* Pole NIP w mailu | |
*/ | |
function wpdesk_vat_number_display_email( $keys ) { | |
$keys['NIP'] = '_vat_number'; | |
return $keys; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment