PHPMailer\PHPMailer
PHPMailer::clearAllRecipients
Clear all recipient types.
Method of the class: PHPMailer{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->clearAllRecipients();
PHPMailer::clearAllRecipients() PHPMailer::clearAllRecipients code WP 6.8.1
public function clearAllRecipients() { $this->to = []; $this->cc = []; $this->bcc = []; $this->all_recipients = []; $this->RecipientsQueue = []; }