PHPMailer\PHPMailer
PHPMailer::clearAllRecipients()
Clear all recipient types.
{} It's a method of the class: PHPMailer{}
No Hooks.
Return
null
. Nothing.
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->clearAllRecipients();
Code of PHPMailer::clearAllRecipients() PHPMailer::clearAllRecipients WP 6.0
public function clearAllRecipients() { $this->to = []; $this->cc = []; $this->bcc = []; $this->all_recipients = []; $this->RecipientsQueue = []; }