Option to skip sending email on deny
-
It would be nice to have an option to skip sending email when registration is denied. A lot of the time the addresses are fake anyway, and the email just bounces.
For now, I simply commented out a line in wp-content/plugins/new-user-approve/new-user-approve.php.
In the public function deny_user(), comment out this line:
wp_mail( $user_email, $subject, $message, $this->email_message_headers() );
becomes:
//wp_mail( $user_email, $subject, $message, $this->email_message_headers() );
Works for me.
- The topic ‘Option to skip sending email on deny’ is closed to new replies.