[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.222.108.185: ~ $
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing

namespace MailPoet\Premium\Config;

if (!defined('ABSPATH')) exit;


use MailPoet\WP\Functions as WPFunctions;

class Localizer {
  public function init() {
    $this->loadGlobalText();
  }

  public function loadGlobalText() {
    $languagePath = sprintf(
      '%s/%s-%s.mo',
      Env::$languagesPath,
      Env::$pluginName,
      $this->locale()
    );
    WPFunctions::get()->loadTextdomain(Env::$pluginName, $languagePath);
  }

  public function locale() {
    $locale = WPFunctions::get()->applyFilters(
      'plugin_locale',
      WPFunctions::get()->getLocale(),
      Env::$pluginName
    );
    return $locale;
  }
}

Filemanager

Name Type Size Permission Actions
Env.php File 1.52 KB 0644
Hooks.php File 2.25 KB 0644
Initializer.php File 5.35 KB 0644
Localizer.php File 732 B 0644
Renderer.php File 4.04 KB 0644
index.php File 6 B 0644