PHPMailer\PHPMailer

PHPMailer::alternativeExists()publicWP 1.0

Check if this message has an alternative body set.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

true|false.

Usage

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

Code of PHPMailer::alternativeExists() WP 6.0

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