PHPMailer\PHPMailer
PHPMailer::doCallback
Perform a callback.
Method of the class: PHPMailer{}
No Hooks.
Returns
null. Nothing (null).
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)
- .
PHPMailer::doCallback() PHPMailer::doCallback code WP 7.0
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);
}
}