{ Array of the wp_mail() arguments. @type string|string[] $to Array or comma-separated list of email addresses to send message. @type string $subject Email subject. @type string $message Message contents. @type string|string[] $headers Additional headers. @type string|string[] $attachments Paths to files to attach. @type string|string[] $embeds Paths to files to embed.}
$tostring|string[]
Array or comma-separated list of email addresses to send message.
203* @type string$message Message contents.204* @type string|string[]$headers Additional headers.205* @type string|string[]$attachments Paths to files to attach.206* @type string|string[]$embeds Paths to files to embed.207*}208*/209$atts=apply_filters('wp_mail',compact('to','subject','message','headers','attachments','embeds'));210211/**212* Filters whether to preempt sending an email.213*214* Returning a non-null value will short-circuit {@see wp_mail()}, returning215* that value instead.A boolean return value should be used to indicate whether
History
Introduced in 2.2.0. Unchanged from 6.7.7 through 7.1.0.