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