Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vat_number_emails
<?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
You can’t perform that action at this time.