PHPMailer\PHPMailer

PHPMailer::getTranslations()publicWP 1.0

Get the array of strings for the current language.

Method of the class: PHPMailer{}

No Hooks.

Return

Array.

Usage

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

PHPMailer::getTranslations() code WP 6.5.2

public function getTranslations()
{
    if (empty($this->language)) {
        $this->setLanguage(); // Set the default language.
    }

    return $this->language;
}