apply_filters( 'wp_mail', array $args )
Filters the wp_mail() arguments.
Description
Parameters
- $args
-
(array) A compacted array of wp_mail() arguments, including the "to" email, subject, message, headers, and attachments values.
Source
Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |
modify the recipient of the email
Expand full source codeCollapse full source code