The wp_mail override in
|
function wp_mail( $to, $subject, $message, $headers = '', $attachments = []) { |
is missing the
pre_wp_mail hook that is used in many plugins to check for email spam.
Can this be added for consistency with the wp_mail function shipped in core
https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/pluggable.php#L231-L231 thats been there since 5.7.0
The
wp_mailoverride inwordpress-plugin/includes/wp-mail-api.php
Line 125 in 47b2714
pre_wp_mailhook that is used in many plugins to check for email spam.Can this be added for consistency with the wp_mail function shipped in core https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/pluggable.php#L231-L231 thats been there since 5.7.0