Current File : /home/kelaby89/babyl0n.restaurant/wp-content/themes/restar/inc/restar-constants.php |
<?php
/**
* @Packge : Restar
* @Version : 1.0
* @Author : Themeholy
* @Author URI : https://themeforest.net/user/themeholy
*
*/
// Block direct access
if ( !defined( 'ABSPATH' ) ) {
exit;
}
/**
*
* Define constant
*
*/
// Base URI
if ( ! defined( 'RESTAR_DIR_URI' ) ) {
define('RESTAR_DIR_URI', get_parent_theme_file_uri().'/' );
}
// Assist URI
if ( ! defined( 'RESTAR_DIR_ASSIST_URI' ) ) {
define( 'RESTAR_DIR_ASSIST_URI', get_theme_file_uri('/assets/') );
}
// Css File URI
if ( ! defined( 'RESTAR_DIR_CSS_URI' ) ) {
define( 'RESTAR_DIR_CSS_URI', get_theme_file_uri('/assets/css/') );
}
// Js File URI
if (!defined('RESTAR_DIR_JS_URI')) {
define('RESTAR_DIR_JS_URI', get_theme_file_uri('/assets/js/'));
}
// Base Directory
if (!defined('RESTAR_DIR_PATH')) {
define('RESTAR_DIR_PATH', get_parent_theme_file_path() . '/');
}
//Inc Folder Directory
if (!defined('RESTAR_DIR_PATH_INC')) {
define('RESTAR_DIR_PATH_INC', RESTAR_DIR_PATH . 'inc/');
}
//RESTAR framework Folder Directory
if (!defined('RESTAR_DIR_PATH_FRAM')) {
define('RESTAR_DIR_PATH_FRAM', RESTAR_DIR_PATH_INC . 'restar-framework/');
}
//Hooks Folder Directory
if (!defined('RESTAR_DIR_PATH_HOOKS')) {
define('RESTAR_DIR_PATH_HOOKS', RESTAR_DIR_PATH_INC . 'hooks/');
}
//Demo Data Folder Directory Path
if( !defined( 'RESTAR_DEMO_DIR_PATH' ) ){
define( 'RESTAR_DEMO_DIR_PATH', RESTAR_DIR_PATH_INC.'demo-data/' );
}
//Demo Data Folder Directory URI
if( !defined( 'RESTAR_DEMO_DIR_URI' ) ){
define( 'RESTAR_DEMO_DIR_URI', RESTAR_DIR_URI.'inc/demo-data/' );
}