WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::getCustomHeaders() public WP 1.0

Returns all custom headers.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

Array.

Usage

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

Code of PHPMailer::getCustomHeaders() WP 5.7.2

<?php
public function getCustomHeaders()
{
    return $this->CustomHeader;
}