HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/themes/xts-luman/functions.php
<?php
/**
 * The framework's functions and definitions
 *
 * @package xts
 */

/**
 * Define constants.
 */
if ( ! defined( 'XTS_THEME_FILE' ) ) {
	define( 'XTS_THEME_FILE', __FILE__ );
}

if ( ! defined( 'XTS_ABSPATH' ) ) {
	define( 'XTS_ABSPATH', dirname( XTS_THEME_FILE ) . '/' );
}

define( 'XTS_THEME_SLUG', 'luman' );
define( 'XTS_BUILD_TYPE', 'xtemos' );

require_once apply_filters( 'xts_framework_path', XTS_ABSPATH . 'framework/class-framework.php' );

require_once XTS_ABSPATH . 'theme/class-theme.php';

define( 'XTS_VERSION', xts_get_theme_info( 'Version' ) );

function mid_adminbar($wp_admin_bar){
	$wp_admin_bar->remove_node('xts_dashboard');
}

require_once get_template_directory() . '/luman-plus-blocks.php';

add_action('wp_enqueue_scripts', function() {
    wp_localize_script('xts-luman-myaccount-script', 'xtsThemeVars', array(
        'themeUrl' => get_template_directory_uri()
    ));
});