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