WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::addCC() public WP 1.0

Add a "CC" address.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

true|false. true on success, false if address already used or invalid in some way

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->addCC( $address, $name );
$address(string) (required)
The email address to send to
$name(string)
-

Code of PHPMailer::addCC() WP 5.7.2

<?php
public function addCC($address, $name = '')
{
    return $this->addOrEnqueueAnAddress('cc', $address, $name);
}