PHPMailer\PHPMailer
PHPMailer::inlineImageExists
Check if an inline attachment is present.
Method of the class: PHPMailer{}
No Hooks.
Returns
true|false
.
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->inlineImageExists();
PHPMailer::inlineImageExists() PHPMailer::inlineImageExists code WP 6.8.1
public function inlineImageExists() { foreach ($this->attachment as $attachment) { if ('inline' === $attachment[6]) { return true; } } return false; }