File: /www/wwwroot/soqatland.com/wp-content/themes/woodmart/functions.php
<?php
/**
*
* The framework's functions and definitions
*/
/* START THEME CORE */
/* Dir Update File Plugin */
define('TF_WOODMART_DIR', get_template_directory());
/* Dir Update URL Plugin */
define('TF_WOODMART_DIR_URL', get_template_directory_uri());
/* Dir File Plugin */
define('TF_WOODMART_FILE_PATH',__FILE__);
/* Dir Path Update Plugin */
define('TF_WOODMART_ASSETS', TF_WOODMART_DIR_URL . '/theme-core/assets/' );
/* Dir Path Lang Plugin */
define('TF_WOODMART_LANG', TF_WOODMART_DIR . '/theme-core/languages/' );
/* Dir Path Functions Plugin */
define('TF_WOODMART_FUN', TF_WOODMART_DIR . '/theme-core/functions/' );
/* Dir Path Core Theme */
define('TF_WOODMART_CORE', TF_WOODMART_DIR . '/theme-core/' );
/* Dir Path Update Plugin */
define('TF_WOODMART_CLASSES', TF_WOODMART_DIR . '/theme-core/classes/' );
/* Dir Update Path Plugin */
define('TF_WOODMART_UPDATE_PATH', TF_WOODMART_DIR . '/theme-core/upgrade/' );
/*Register Class*/
require_once (TF_WOODMART_CLASSES. 'class-upgrade-woodmart.php');
/* END THEME CORE */
define( 'WOODMART_THEME_DIR', get_template_directory_uri() );
define( 'WOODMART_THEMEROOT', get_template_directory() );
define( 'WOODMART_IMAGES', WOODMART_THEME_DIR . '/images' );
define( 'WOODMART_SCRIPTS', WOODMART_THEME_DIR . '/js' );
define( 'WOODMART_STYLES', WOODMART_THEME_DIR . '/css' );
define( 'WOODMART_FRAMEWORK', '/inc' );
define( 'WOODMART_DUMMY', WOODMART_THEME_DIR . '/inc/dummy-content' );
define( 'WOODMART_CLASSES', WOODMART_THEMEROOT . '/inc/classes' );
define( 'WOODMART_CONFIGS', WOODMART_THEMEROOT . '/inc/configs' );
define( 'WOODMART_HEADER_BUILDER', WOODMART_THEME_DIR . '/inc/modules/header-builder' );
define( 'WOODMART_ASSETS', WOODMART_THEME_DIR . '/inc/admin/assets' );
define( 'WOODMART_ASSETS_IMAGES', WOODMART_ASSETS . '/images' );
define( 'WOODMART_API_URL', 'https://xtemos.com/wp-json/xts/v1/' );
define( 'WOODMART_DEMO_URL', 'https://woodmart.xtemos.com/' );
define( 'WOODMART_PLUGINS_URL', WOODMART_DEMO_URL . 'plugins/' );
define( 'WOODMART_DUMMY_URL', WOODMART_DEMO_URL . 'dummy-content-new/' );
define( 'WOODMART_TOOLTIP_URL', WOODMART_DEMO_URL . 'theme-settings-tooltips/' );
define( 'WOODMART_SLUG', 'woodmart' );
define( 'WOODMART_CORE_VERSION', '1.1.5' );
define( 'WOODMART_WPB_CSS_VERSION', '1.0.2' );
if ( ! function_exists( 'woodmart_load_classes' ) ) {
function woodmart_load_classes() {
$classes = array(
'class-singleton.php',
'class-api.php',
'class-config.php',
'class-layout.php',
'class-autoupdates.php',
'class-activation.php',
'class-notices.php',
'class-theme.php',
'class-registry.php',
);
foreach ( $classes as $class ) {
require WOODMART_CLASSES . DIRECTORY_SEPARATOR . $class;
}
}
}
woodmart_load_classes();
new XTS\Theme();
define( 'WOODMART_VERSION', woodmart_get_theme_info( 'Version' ) );