| Server IP : 198.38.94.67 / Your IP : 216.73.217.178 Web Server : LiteSpeed System : Linux d6054.dxb1.stableserver.net 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64 User : azfilmst ( 1070) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/azfilmst/public_html/wp-content/themes/frames/framework/includes/ |
Upload File : |
<?php
/**
* @package HaruTheme
* @version 1.0.0
* @author Administrator <admin@harutheme.com>
* @copyright Copyright (c) 2017, HaruTheme
* @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later
* @link http://harutheme.com
*/
// Include Redux theme options
if ( ! function_exists( 'haru_include_theme_options' ) && class_exists( 'ReduxFramework' ) ) {
function haru_include_theme_options() {
// Use this to override Redux Framework
if ( file_exists( get_template_directory() . '/framework/core/haru_reduxframework.php' ) ) {
require_once get_template_directory() . '/framework/core/haru_reduxframework.php';
}
// Load the theme/plugin options
if ( file_exists( get_template_directory() . '/framework/includes/theme-options.php' ) ) {
require_once get_template_directory() . '/framework/includes/theme-options.php';
}
}
haru_include_theme_options();
}
// Include core files
if ( ! function_exists( 'haru_include_core_files' ) ) {
function haru_include_core_files() {
require_once( get_template_directory() . '/framework/includes/tgmpa-register.php' ); // Required plugins for theme
require_once( get_template_directory() . '/framework/includes/theme-setup.php' ); // Declare theme_support(), load_theme_textdomain(),...
require_once( get_template_directory() . '/framework/includes/theme-functions.php' ); // Include functions as add custom sidebar, ...
require_once( get_template_directory() . '/framework/includes/theme-hooks.php' ); // Include theme hooks
if ( true == haru_check_woocommerce_status() ) {
require_once( get_template_directory() . '/framework/includes/woocommerce-functions.php' ); // Include woocommerce functions ...
require_once( get_template_directory() . '/framework/includes/woocommerce-hooks.php' ); // Include woocommerce hooks
}
require_once( get_template_directory() . '/framework/includes/theme-sidebar.php' ); // Add sidebar and custom sidebar for theme
require_once( get_template_directory() . '/framework/includes/enqueue-admin.php' ); // Add assets for back-end
require_once( get_template_directory() . '/framework/includes/enqueue-frontend.php' ); // Load assets for front-end
// Compile theme stylesheet
if ( true == haru_check_core_plugin_status() ) {
if ( file_exists( WP_PLUGIN_DIR . '/haru-frames/includes/scss/_init.php' ) ) {
require_once( WP_PLUGIN_DIR . '/haru-frames/includes/scss/_init.php' );
}
}
}
haru_include_core_files();
}