wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_mail_succeeded › WordPress Action Hooks

Seit6.9.0
Veraltetn/v
do_action( 'wp_mail_succeeded', $mail_data )
Parameter:
  • () mail_data { An array containing the email recipient(s), subject, message, headers, attachments, and embeds. @type string[] $to Email addresses to send message. @type string $subject Email subject. @type string $message Message contents. @type string[] $headers Additional headers. @type string[] $attachments Paths to files to attach. @type string[] $embeds Paths to files to embed. }
    Erforderlich: Ja
Definiert in:
Codex:

Fires after PHPMailer has successfully sent an email.

The firing of this action does not necessarily mean that the recipient(s) received the email successfully. It only means that the `send` method above was able to process the request without any errors.




Quellcode

do_action( 'wp_mail_succeeded', $mail_data );