HEX
Server: Apache
System: Linux p3plzcpnl476737.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: p8pyefaexf70 (9161224)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/wp-content/plugins/shopengine/utils/global-helper.php
<?php

use ShopEngine\Core\MultiLanguage\Language;

if ( !function_exists( 'shopengine_translate' ) ) {
    /**
     * @param $key
     * @param $value
     */
    function shopengine_translator( $key, $value )
    {
        if ( 'polylang' === Language::$translator ) {
            return pll_translate_string( $value, Language::$language_code );
        } elseif ( 'wpml' === Language::$translator ) {
            return apply_filters( 'wpml_translate_single_string', $value, Language::CONTEXT, $key );
        }
        return $value;
    }
}

if ( !function_exists( 'shopengine_content_render' ) ) {
    function shopengine_content_render($content) {
        //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
        echo $content;
    }
}