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