Change the wp_mail() Behavior Using the Hooks

wp_mail() is a core function of WordPress widely used by plugins to send emails. WordPress wraps inside that function a set of checks and normalization of data and finally uses the PHP Mailer library to actually send the message. Acting on the different hooks available is possible to change the behavior of wp_mail() from just … Continue reading Change the wp_mail() Behavior Using the Hooks