PHPMailer\PHPMailer
PHPMailer::clearCustomHeaders()
Clear all custom headers.
{} It's a method of the class: PHPMailer{}
No Hooks.
Return
null
. Nothing.
Usage
$PHPMailer = new PHPMailer(); $PHPMailer->clearCustomHeaders();
Code of PHPMailer::clearCustomHeaders() PHPMailer::clearCustomHeaders WP 6.0
public function clearCustomHeaders() { $this->CustomHeader = []; }