Browse: Home / Functions /


learndash_emails_send( string $user_email = '',  array $email_args = array(),  string $headers = '',  array $attachments = array() )

Defines the “From: email” sent in the email notification.

Description #

Parameters #


(string) (Optional) Destination email.

Default value: ''


(array) (Optional) Array of email args for 'subject', 'message', and 'content_type'.

Default value: array()


(string) (Optional) Additional email headers.

Default value: ''


(array) (Optional) Email attachments.

Default value: array()

Return #

(bool) True if the email is sent.

Source #

File: includes/payments/ld-emails-functions.php

Changelog #

Version Description
3.6.0 Introduced.