PHPMailer\PHPMailer

PHPMailer::getTranslationspublicWP 1.0

Get the array of strings for the current language.

Method of the class: PHPMailer{}

No Hooks.

Returns

Array.

Usage

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

PHPMailer::getTranslations() code WP 7.0

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

    return self::$language;
}