Remove email from invoice
-
Hi,
Been trying to remove the customer email from our packing slips/receipts, but i cant get it to disappear.
function example_removed_email( $fields ) {
unset( $fields[‘customer_email’] );
return $fields;
}
add_filter( ‘wcdn_order_info_fields’, ‘example_removed_email’ );Is this correct from FAQ? What is the field that should be used? (“customer_email”)
Best Regards
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Remove email from invoice’ is closed to new replies.