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