Created
August 15, 2025 07:19
-
-
Save dennisnissle/a779579a38e58c7f9eaf2c5a72e718b6 to your computer and use it in GitHub Desktop.
Adjust invoice email address
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( 'storeabill_woo_order_email', function( $billing_email, $invoice_order ) { | |
| $wc_order = $invoice_order->get_order(); | |
| return $billing_email; | |
| }, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment