PHPMailer\PHPMailer
PHPMailer::alternativeExists()
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() PHPMailer::alternativeExists WP 6.0
public function alternativeExists() { return !empty($this->AltBody); }