I thought I would post this as an FYI for anyone interested what the common functions are that WP uses to send out system emails, and thus what tags you can use in wpMandrill to filter the payload of those messages. (Note there may be others, but this is what I’ve been able to find in WP’s pluggable.php and wp-login.php
Sent to users and admins when a new user registers or is registered. Note that the WP function attempts to notify both the new user and the admin. Two different subjects and message contents are defined in the single function. (If anyone knows how to override this, I’m all ears!)
Sent to users when they request a password reset
Sent to admins when a user changes their password
Notification emails sent to authors of comments, trackbacks and pings
Notification emails sent to blog moderator of comments awaiting approval
Catchall when Mandrill can’t determine what function called the mail event. (Is this even relevant for the purposes of filtering mail content (i.e. headers, subjects, messages, etc?)
- The topic ‘FYI: WP message tags for filtering’ is closed to new replies.