Filter hook 'wp_mail'

in WP Core File wp-includes/pluggable.php at line 192

Description

Filters the wp_mail() arguments. }

Occurrences

Filename Line Number
wp-includes/pluggable.php 192

Parameters

Type Name Description
array $args { Array of the `wp_mail()` arguments.

PHP Doc

/**
		 * 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.
		 * }
		 */