1. Home
  2. Knowledge Base
  3. WooCommerce Members Only
  4. Filter email recipient for new registration notifications
  1. Home
  2. Knowledge Base
  3. Registration
  4. Filter email recipient for new registration notifications

Filter email recipient for new registration notifications

By default, notification emails for new registrations will go to the site admin. You can filter the email address using this snippet:

<?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' );

Note that you’ll need to separate additional email addresses with a comma.

Here’s how to add a snippet.

Was this article helpful?

Need More Support?

If you can't find the answer that you're looking for, then please use the link below to raise a support ticket.
Contact Support

Related Articles