PHPMailer\PHPMailer
PHPMailer::clearAllRecipients()
Clear all recipient types.
Method of the class: PHPMailer{}
No Hooks.
Return
null
. Ничего (null).
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->clearAllRecipients();
PHPMailer::clearAllRecipients() PHPMailer::clearAllRecipients code WP 6.3
public function clearAllRecipients() { $this->to = []; $this->cc = []; $this->bcc = []; $this->all_recipients = []; $this->RecipientsQueue = []; }