WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::getAllRecipientAddresses() public WP 1.0

Allows for public read access to 'all_recipients' 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->getAllRecipientAddresses();

Code of PHPMailer::getAllRecipientAddresses() WP 5.7.2

<?php
public function getAllRecipientAddresses()
{
    return $this->all_recipients;
}