PHPMailer\PHPMailer
PHPMailer::clearBCCs()
Clear all BCC recipients.
Method of the class: PHPMailer{}
No Hooks.
Return
null
. Nothing (null).
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->clearBCCs();
PHPMailer::clearBCCs() PHPMailer::clearBCCs code WP 6.5.2
public function clearBCCs() { foreach ($this->bcc as $bcc) { unset($this->all_recipients[strtolower($bcc[0])]); } $this->bcc = []; $this->clearQueuedAddresses('bcc'); }