PATH:
home
/
vcomplcotr
/
www
/
wp-content
/
plugins
/
fancy-gallery
/
classes
<?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();
[+]
..
[-] template.php
[edit]
[-] content-filter.php
[edit]
[-] thumbnails.php
[edit]
[-] scripts.php
[edit]
[-] mocking-bird.php
[edit]
[-] ajax-requests.php
[edit]
[-] wpml.php
[edit]
[-] gallery.php
[edit]
[-] post.php
[edit]
[-] lightbox.php
[edit]
[-] i18n.php
[edit]
[-] post-type.php
[edit]
[-] wp-query-extensions.php
[edit]
[-] taxonomies.php
[edit]
[-] core.php
[edit]
[-] index.html
[edit]
[-] query.php
[edit]
[-] template-tags-fallbacks.php
[edit]
[-] styles.php
[edit]
[-] shortcode-filter.php
[edit]
[-] tiny-mce-editor.php
[edit]
[-] options.php
[edit]