PHPMailer\PHPMailer

PHPMailer::clearCustomHeaders()publicWP 1.0

Clear all custom headers.

Method of the class: PHPMailer{}

No Hooks.

Return

null. Nothing (null).

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->clearCustomHeaders();

PHPMailer::clearCustomHeaders() code WP 6.4.3

public function clearCustomHeaders()
{
    $this->CustomHeader = [];
}