PHPMailer\PHPMailer

SMTP::setDebugOutputpublicWP 1.0

Set debug output method.

Метод класса: SMTP{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$SMTP = new SMTP();
$SMTP->setDebugOutput( $method );
$method(строка|callable)
The name of the mechanism to use for debugging output, or a callable to handle it.
По умолчанию: 'echo'

Код SMTP::setDebugOutput() WP 6.8.2

public function setDebugOutput($method = 'echo')
{
    $this->Debugoutput = $method;
}