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 #
- $user_email
-
(string) (Optional) Destination email.
Default value: ''
- $email_args
-
(array) (Optional) Array of email args for 'subject', 'message', and 'content_type'.
Default value: array()
- $headers
-
(string) (Optional) Additional email headers.
Default value: ''
- $attachments
-
(array) (Optional) Email attachments.
Default value: array()
Return #
(bool) True if the email is sent.
Source #
Changelog #
Version | Description |
---|---|
3.6.0 | Introduced. |