HEX
Server: Apache
System: Linux smartwebfx.com 5.4.0-211-generic #231-Ubuntu SMP Tue Mar 11 17:06:58 UTC 2025 x86_64
User: fastshipsa (1010)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: /home/fastshipsa/public_html/wp-content/themes/fastrans/includes/loader.php
<?php

define( 'FASTRANS_ROOT', get_template_directory() . '/' );

require_once get_template_directory() . '/includes/functions/functions.php';
include_once get_template_directory() . '/includes/classes/base.php';
include_once get_template_directory() . '/includes/classes/dotnotation.php';
include_once get_template_directory() . '/includes/classes/header-enqueue.php';
include_once get_template_directory() . '/includes/classes/options.php';
include_once get_template_directory() . '/includes/classes/ajax.php';
include_once get_template_directory() . '/includes/classes/common.php';
include_once get_template_directory() . '/includes/classes/bootstrap_walker.php';
include_once get_template_directory() . '/includes/library/class-tgm-plugin-activation.php';
require_once get_template_directory() . '/includes/library/hook.php';



add_action( 'after_setup_theme', 'fastrans_wp_load', 5 );

function fastrans_wp_load() {

	defined( 'FASTRANS_URL' ) or define( 'FASTRANS_URL', get_template_directory_uri() . '/' );
	define(  'FASTRANS_KEY','!@#fastrans');
	define(  'FASTRANS_URI', get_template_directory_uri() . '/');

	if ( ! defined( 'FASTRANS_NONCE' ) ) {
		define( 'FASTRANS_NONCE', 'fastrans_wp_theme' );
	}

	( new \FASTRANS\Includes\Classes\Base )->loadDefaults();
	( new \FASTRANS\Includes\Classes\Ajax )->actions();

}
add_action( 'init', 'fastrans_bunch_theme_init');
function fastrans_bunch_theme_init()
{
	$bunch_exlude_hooks = include_once get_template_directory(). '/includes/resource/remove_action.php';
	foreach( $bunch_exlude_hooks as $k => $v )
	{
		foreach( $v as $value )
		remove_action( $k, $value[0], $value[1] );
	}

}