Filters the wp_mail() arguments.
$argsarray
wp_mail() arguments.to string|string[]subject stringmessage stringheaders string|string[]attachments string|string[]$atts = apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments' ) );
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_mail