Browse: Home / Functions /

learndash_notifications_save_delayed_email

learndash_notifications_save_delayed_email( object $notification,  array $emails,  int $sent_on,  array $shortcode_data,  array $bcc = array(),  $update_where = array() )

Save a delayed notification to delayed email table


Description #


Parameters #

$notification

(object) (Required) Notification WP post object

$emails

(array) (Required) List of recipient emails

$sent_on

(int) (Required) UNIX timestamp when the email will be sent

$shortcode_data

(array) (Required) List of array

$bcc

(array) (Optional) List of email addresses as bcc

Default value: array()


Return #

(bool) True if success|false otherwise


Source #

File: includes/notifications/includes/database.php