Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_pmpro_disable_member_emails($recipient, $email)
- {
- if(str_pos($email->template, "_admin") == false) //this is not an admin email template
- $recipient = NULL;
- return $recipient;
- }
- add_filter("pmpro_email_recipient", "my_pmpro_disable_member_emails", 10, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement