pre_gc_mail

最后更新于:2021-11-27 21:16:27

apply_filters( ‘pre_gc_mail’, null|bool $return, array $atts )

Filters whether to preempt sending an email.

参数

$return

(null|bool)
Short-circuit return value.

$atts

(array)
Array of the gc_mail() arguments.

  • ‘to’
    (string|string[]) Array or comma-separated list of email addresses to send message.
  • ‘subject’
    (string) Email subject.
  • ‘message’
    (string) Message contents.
  • ‘headers’
    (string|string[]) Additional headers.
  • ‘attachments’
    (string|string[]) Paths to files to attach.

源文件

文件: gc-includes/pluggable.php

View on Trac