PHPMailer\PHPMailer
PHPMailer::getTranslations
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() PHPMailer::getTranslations code WP 7.0
public function getTranslations()
{
if (empty(self::$language)) {
self::setLanguage(); // Set the default language.
}
return self::$language;
}