wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_mail › WordPress Filter Hooks

Da6.9.0
Deprecaton/a
› apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments', 'embeds' )
Parametri:
  • () 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. @type string|string[] $embeds Paths to files to embed. }
    Richiesto: Sì
Definito a:
Codex:

Filters the wp_mail() arguments.





Sorgenti

$atts = apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments', 'embeds' ) );