PHPMailer\PHPMailer

PHPMailer::getTranslations()publicWP 1.0

Get the array of strings for the current language.

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

No Hooks.

Return

Array.

Usage

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

Code of PHPMailer::getTranslations() WP 6.0

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

    return $this->language;
}