WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about wp_mail

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/pluggable.php apply_filters 192 /**
* Filters the wp_mail() arguments.
* @since 2.2.0
* @param array $args {
* 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.
* }

Hook Parameters

Parameter Type Name Description
array $arg s {