PluginProbe
File Manager Pro – Filester / 2.1.3
File Manager Pro – Filester v2.1.3
2.1.3 2.1.2 2.1.1 trunk 1.6.1 1.7.6 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 2.0 2.0.1 2.0.2 2.1.0
filester / includes / I18n.php
I18n.php
31 lines 560 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace NinjaFileManager;
3
4 defined('ABSPATH') || exit;
5 /**
6 * I18n Logic
7 */
8 class I18n {
9 protected static $instance = null;
10
11 public static function getInstance() {
12 if (null == self::$instance) {
13 self::$instance = new self;
14 }
15
16 return self::$instance;
17 }
18
19 private function __construct() {
20 add_action('plugins_loaded', array($this, 'loadPluginTextdomain'));
21 }
22
23 public function loadPluginTextdomain() {
24 load_plugin_textdomain(
25 'filester',
26 false,
27 NJT_FS_BN_PLUGIN_URL . 'i18n/languages/'
28 );
29 }
30 }
31