WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::doCallback() protected WP 1.0

Perform a callback.

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->doCallback( $isSent, $to, $cc, $bcc, $subject, $body, $from, $extra );
$isSent *(true false) (required)*
$to(array) (required)
-
$cc(array) (required)
-
$bcc(array) (required)
-
$subject(string) (required)
-
$body(string) (required)
-
$from(string) (required)
-
$extra(array) (required)
-

Code of PHPMailer::doCallback() WP 5.7.2

<?php
protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body, $from, $extra)
{
    if (!empty($this->action_function) && is_callable($this->action_function)) {
        call_user_func($this->action_function, $isSent, $to, $cc, $bcc, $subject, $body, $from, $extra);
    }
}