wp_mail_from filter-hook . WP 2.2.0
Filters the email address to send from.
Usage
add_filter( 'wp_mail_from', 'filter_function_name_373' ); function filter_function_name_373( $from_email ){ // filter... return $from_email; }
- $from_email(string)
- Email address to send from.
Changelog
Since 2.2.0 | Introduced. |
Where the hook is called
wp-includes/pluggable.php 352
$from_email = apply_filters( 'wp_mail_from', $from_email );