Filter email recipient for new registration notifications
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
<?php | |
/** | |
* Filter email recipient for new registration notifications | |
*/ | |
function prefix_new_registration_email_recipient( $to ) { | |
$to .= ', you@email.com'; | |
return $to; | |
} | |
add_filter( 'wcmo_new_registration_email_recipient', 'prefix_new_registration_email_recipient' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment