Current File : /home/mdkeenpw/public_html/wp-content/themes/logistik/inc/logistik-constants.php |
<?php
/**
* @Packge : Logistik
* @Version : 1.0
* @Author : Themeholy
* @Author URI : https://themeholy.com/
*
*/
// Block direct access
if ( !defined( 'ABSPATH' ) ) {
exit;
}
/**
*
* Define constant
*
*/
// Base URI
if ( ! defined( 'LOGISTIK_DIR_URI' ) ) {
define('LOGISTIK_DIR_URI', get_parent_theme_file_uri().'/' );
}
// Assist URI
if ( ! defined( 'LOGISTIK_DIR_ASSIST_URI' ) ) {
define( 'LOGISTIK_DIR_ASSIST_URI', get_theme_file_uri('/assets/') );
}
// Css File URI
if ( ! defined( 'LOGISTIK_DIR_CSS_URI' ) ) {
define( 'LOGISTIK_DIR_CSS_URI', get_theme_file_uri('/assets/css/') );
}
// Js File URI
if (!defined('LOGISTIK_DIR_JS_URI')) {
define('LOGISTIK_DIR_JS_URI', get_theme_file_uri('/assets/js/'));
}
// Base Directory
if (!defined('LOGISTIK_DIR_PATH')) {
define('LOGISTIK_DIR_PATH', get_parent_theme_file_path() . '/');
}
//Inc Folder Directory
if (!defined('LOGISTIK_DIR_PATH_INC')) {
define('LOGISTIK_DIR_PATH_INC', LOGISTIK_DIR_PATH . 'inc/');
}
//LOGISTIK framework Folder Directory
if (!defined('LOGISTIK_DIR_PATH_FRAM')) {
define('LOGISTIK_DIR_PATH_FRAM', LOGISTIK_DIR_PATH_INC . 'logistik-framework/');
}
//Hooks Folder Directory
if (!defined('LOGISTIK_DIR_PATH_HOOKS')) {
define('LOGISTIK_DIR_PATH_HOOKS', LOGISTIK_DIR_PATH_INC . 'hooks/');
}
//Demo Data Folder Directory Path
if( !defined( 'LOGISTIK_DEMO_DIR_PATH' ) ){
define( 'LOGISTIK_DEMO_DIR_PATH', LOGISTIK_DIR_PATH_INC.'demo-data/' );
}
//Demo Data Folder Directory URI
if( !defined( 'LOGISTIK_DEMO_DIR_URI' ) ){
define( 'LOGISTIK_DEMO_DIR_URI', LOGISTIK_DIR_URI.'inc/demo-data/' );
}