PHPMailer\PHPMailer
PHPMailer::clearAttachments()
Clear all filesystem, string, and binary attachments.
Метод класса: PHPMailer{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$PHPMailer = new PHPMailer(); $PHPMailer->clearAttachments();
Код PHPMailer::clearAttachments() PHPMailer::clearAttachments WP 6.5.2
public function clearAttachments() { $this->attachment = []; }