PHPMailer\PHPMailer

PHPMailer::alternativeExistspublicWP 1.0

Check if this message has an alternative body set.

Method of the class: PHPMailer{}

No Hooks.

Returns

true|false.

Usage

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

PHPMailer::alternativeExists() code WP 6.8.1

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