Filters the name to associate with the “from” email address.
Parameters
$from_name
string- Name associated with the "from" email address.
Source
$from_name = apply_filters( 'wp_mail_from_name', $from_name );
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
Example migrated from Codex:
It is not necessary to call another method if you can use anonymous functions (PHP 5.3.0+):
For subdomains why do we have to add:
I didn’t know that international customers couldn’t send me messages for over a year T-T CF7 forms would just have a spinning mark. My German friend told me this. It’s for all subdomain sites not the main site. I’m glad I found this out now though.