WordPress at a glance
function is not described

PHPMailer\PHPMailer

SMTP::setTimeout() public WP 1.0

Set SMTP timeout.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of SMTP::setTimeout() WP 5.7.2

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