PHPMailer\PHPMailer

PHPMailer::getOAuth()publicWP 1.0

Get the OAuthTokenProvider instance.

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

No Hooks.

Return

OAuthTokenProvider.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->getOAuth();

Code of PHPMailer::getOAuth() WP 6.0

public function getOAuth()
{
    return $this->oauth;
}