PHPMailer\PHPMailer

SMTP::setTimeout()publicWP 1.0

Set SMTP timeout.

Method of the class: SMTP{}

No Hooks.

Return

null. Nothing (null).

Usage

$SMTP = new SMTP();
$SMTP->setTimeout( $timeout );
$timeout(int)
The timeout duration in seconds

SMTP::setTimeout() code WP 6.5.2

public function setTimeout($timeout = 0)
{
    $this->Timeout = $timeout;
}