PHPMailer\PHPMailer

PHPMailer::clearReplyTos()publicWP 1.0

Clear all ReplyTo recipients.

Method of the class: PHPMailer{}

No Hooks.

Return

null. Nothing (null).

Usage

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

PHPMailer::clearReplyTos() code WP 6.6

public function clearReplyTos()
{
    $this->ReplyTo = [];
    $this->ReplyToQueue = [];
}