Bitcoin and Altcoin Wallets 6.2.4

emails.php

Table of Contents

wp_mail_enqueue()  : void
Enqueue an email for later sending via wp_mail() by the email cron task.
wp_mail_enqueue_to_admins()  : void
Enqueue an email for later sending via wp_mail() by the email cron task.
get_admin_emails()  : array<string|int, mixed>

Functions

wp_mail_enqueue()

Enqueue an email for later sending via wp_mail() by the email cron task.

wp_mail_enqueue(string|array<string|int, mixed> $to, string $subject, string $message[, string|array<string|int, mixed> $headers = '' ][, string|array<string|int, mixed> $attachments = [] ]) : void
Parameters
$to : string|array<string|int, mixed>

Array or comma-separated list of email addresses to send message.

$subject : string

Email subject.

$message : string

Message contents.

$headers : string|array<string|int, mixed> = ''

(Optional) Additional headers.

$attachments : string|array<string|int, mixed> = []

(Optional) Files to attach.

Return values
void

wp_mail_enqueue_to_admins()

Enqueue an email for later sending via wp_mail() by the email cron task.

wp_mail_enqueue_to_admins(string $subject, string $message[, string|array<string|int, mixed> $headers = '' ][, string|array<string|int, mixed> $attachments = [] ]) : void
Parameters
$subject : string

Email subject

$message : string

Message contents

$headers : string|array<string|int, mixed> = ''

(Optional) Additional headers.

$attachments : string|array<string|int, mixed> = []

(Optional) Files to attach.

Tags
see
Email_Queue_Task
since
6.0.0

Introduced.

Return values
void

get_admin_emails()

get_admin_emails() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results