PHPMailer\PHPMailer

PHPMailer::alternativeExists()publicWP 1.0

Check if this message has an alternative body set.

Method of the class: PHPMailer{}

No Hooks.

Return

true|false.

Usage

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

PHPMailer::alternativeExists() code WP 6.5.2

public function alternativeExists()
{
    return !empty($this->AltBody);
}