PHPMailer\PHPMailer
PHPMailer::clearAttachments()
Clear all filesystem, string, and binary attachments.
Method of the class: PHPMailer{}
No Hooks.
Return
null
. Ничего (null).
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->clearAttachments();
PHPMailer::clearAttachments() PHPMailer::clearAttachments code WP 6.3
public function clearAttachments() { $this->attachment = []; }