awesomemotive / wp-mail-logging

:envelope: Logs each email sent by WordPress.
49 stars 26 forks source link

Create a hook that allows filtering of which to emails to log #190

Open donmhico opened 10 months ago

donmhico commented 10 months ago

Description

Create a new hook that allows filtering of which emails to log but still sends it. The existing hook wp_mail_logging_before_log_email does allow emails not to be logged, but it will also prevent the email to be sent.

Reference

See https://wordpress.org/support/topic/exclude-mails-by-address-of-recipment/.

nasanansi commented 5 months ago

https://wordpress.org/support/topic/exclude-certain-e-mails/