Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_mail ›

Desde2.2.0
Obsoleton/a
apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments' )
Parâmetros:
  • (array) $args A compacted array of wp_mail() arguments, including the "to" email, subject, message, headers, and attachments values.
    Required: Yes
Definido em:
Codex:

Filters the wp_mail() arguments.



Funções relacionadas: wp_mail, wp_meta, wp_salt, wp_title, is_email, wp_is_mobile


Fonte

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