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;
}