D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
public_html
/
akashstudycircle.site
/
wp-content
/
themes
/
edhub
/
Filename :
functions.php
back
Copy
<?php /** * @author RadiusTheme * * @since 1.0 * * @version 1.0 */ $edhub_theme_data = wp_get_theme(); $action = 'edhub_theme_init'; do_action( $action ); define( 'EDHUB_VERSION', ( WP_DEBUG ) ? time() : $edhub_theme_data->get( 'Version' ) ); define( 'EDHUB_AUTHOR_URI', $edhub_theme_data->get( 'AuthorURI' ) ); define( 'EDHUB_NAME', 'edhub' ); // DIR define( 'EDHUB_BASE_DIR', get_template_directory() . '/' ); define( 'EDHUB_INC_DIR', EDHUB_BASE_DIR . 'inc/' ); define( 'EDHUB_VIEW_DIR', EDHUB_INC_DIR . 'views/' ); define( 'EDHUB_LIB_DIR', EDHUB_BASE_DIR . 'lib/' ); define( 'EDHUB_WID_DIR', EDHUB_INC_DIR . 'widgets/' ); define( 'EDHUB_PLUGINS_DIR', EDHUB_INC_DIR . 'plugins/' ); define( 'EDHUB_MODULES_DIR', EDHUB_INC_DIR . 'modules/' ); define( 'EDHUB_ASSETS_DIR', EDHUB_BASE_DIR . 'assets/' ); define( 'EDHUB_CSS_DIR', EDHUB_ASSETS_DIR . 'css/' ); define( 'EDHUB_JS_DIR', EDHUB_ASSETS_DIR . 'js/' ); // URL define( 'EDHUB_BASE_URL', get_template_directory_uri() . '/' ); define( 'EDHUB_ASSETS_URL', EDHUB_BASE_URL . 'assets/' ); define( 'EDHUB_CSS_URL', EDHUB_ASSETS_URL . 'css/' ); define( 'EDHUB_JS_URL', EDHUB_ASSETS_URL . 'js/' ); define( 'EDHUB_IMG_URL', EDHUB_ASSETS_URL . 'img/' ); define( 'EDHUB_LIB_URL', EDHUB_BASE_URL . 'lib/' ); define( 'EDHUB_CUSTOMISER_ASSET', EDHUB_BASE_URL . 'inc/customizer/assets/' ); //Other Plugins active or not define( 'EDHUB_BBPRESS_IS_ACTIVE', class_exists( 'bbPress' ) ); // Includes require_once EDHUB_INC_DIR . 'helper-functions.php'; require_once EDHUB_INC_DIR . 'edhub.php'; require_once EDHUB_INC_DIR . 'general.php'; require_once EDHUB_INC_DIR . 'scripts.php'; require_once EDHUB_INC_DIR . 'template-vars.php'; require_once EDHUB_INC_DIR . 'includes.php'; // Includes Modules require_once EDHUB_MODULES_DIR . 'rt-post-related.php'; require_once EDHUB_MODULES_DIR . 'rt-case-related.php'; require_once EDHUB_MODULES_DIR . 'rt-breadcrumbs.php'; // TGM Plugin Activation require_once EDHUB_LIB_DIR . 'class-tgm-plugin-activation.php'; require_once EDHUB_INC_DIR . 'tgm-config.php'; add_editor_style( 'style-editor.css' );