PHPMailer\PHPMailer

PHPMailer::getToAddresses()publicWP 1.0

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

Method of the class: PHPMailer{}

No Hooks.

Return

Array.

Usage

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

PHPMailer::getToAddresses() code WP 6.5.2

public function getToAddresses()
{
    return $this->to;
}