WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::getCcAddresses() public WP 1.0

Allows for public read access to 'cc' property. Before the send() call, queued addresses (i.e. with IDN) are not yet included.

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

No Hooks.

Return

Array.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->getCcAddresses();

Code of PHPMailer::getCcAddresses() WP 5.7.2

<?php
public function getCcAddresses()
{
    return $this->cc;
}