Used By
Used By | Description |
---|---|
wp-includes/pluggable.php: wp_mail() | Sends an email, similar to PHP’s mail function. |
Filters the email address to send from.
(string) Email address to send from.
wp_mail_from
filter modifies the “from email address” used in an email sent using the wp_mail() function. When used together with the ‘wp_mail_from_name‘ filter, it creates a from address like “Name”. The filter should return an email address.Version | Description |
---|---|
2.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_mail_from