WordPress开发者和主题制作者的搜索引擎



wp_mail ›

Since2.2.0
已弃用n/a
apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers', 'attachments' )
参数:
  • (array) $args A compacted array of wp_mail() arguments, including the "to" email, subject, message, headers, and attachments values.
    Required: Yes
定义在:
文档:

Filters the wp_mail() arguments.





源码

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