PHPMailer\PHPMailer

PHPMailer::getTranslationspublicWP 1.0

Get the array of strings for the current language.

Метод класса: PHPMailer{}

Хуков нет.

Возвращает

Массив.

Использование

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

Код PHPMailer::getTranslations() WP 7.0

public function getTranslations()
{
    if (empty(self::$language)) {
        self::setLanguage(); // Set the default language.
    }

    return self::$language;
}