LLMS_Email::add_recipient( int|string $address, string $type = 'to', string $name = '' )
Add a single recipient for sending to, cc, or bcc
Description Description
Parameters Parameters
- $address
-
(Required) if string, must be a valid email address if int, must be the WP User ID of a user
- $type
-
(Optional) recipient type [to,cc,bcc]
Default value: 'to'
- $name
-
(Optional) recipient name (optional)
Default value: ''
Return Return
(boolean)
Source Source
File: includes/emails/class.llms.email.php
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |