Created
October 1, 2016 13:17
-
-
Save iMazed/82f5aa0a53524139ed1d8b64fced6994 to your computer and use it in GitHub Desktop.
Change WooCommerce stock email recipient
This file contains 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
add_filter('woocommerce_email_recipient_backorder', 'wc_change_admin_backorder_email_recipient', 1, 2); | |
function wc_change_admin_backorder_email_recipient( $recipient, $order ) { | |
global $woocommerce; | |
$recipient = "[email protected]"; // change this value to the appropriate email! | |
return $recipient; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment