From: Roland Häder Date: Tue, 20 Jul 2010 05:32:44 +0000 (+0000) Subject: Wrapper getMtWord2() added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=12dd5b45c50b3837726d9ae81a51f950f843da77;p=mailer.git Wrapper getMtWord2() added --- diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 9dc7ea6398..036a89b004 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -1514,6 +1514,18 @@ function getMtWord () { return $GLOBALS['mt_word']; } +// "Getter" for mt_word2 +function getMtWord2 () { + // Do we have cache? + if (!isset($GLOBALS['mt_word2'])) { + // Determine it + $GLOBALS['mt_word2'] = getConfig('mt_word2'); + } // END - if + + // Return cache + return $GLOBALS['mt_word2']; +} + // "Getter" for main_title function getMainTitle () { // Do we have cache?