403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/xxxupdates.com/public_html/wp-content/themes/x/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/xxxupdates.com/public_html/wp-content/themes/x/functions.php
<?php

// =============================================================================
// FUNCTIONS.PHP
// -----------------------------------------------------------------------------
// Theme functions for X.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Autoloader
//   02. Bootstrap Theme
// =============================================================================

if ( file_exists( get_template_directory() . '/dev.php' ) ) {
  require_once( get_template_directory() . '/dev.php' );
}

// Bootstrap Theme
// =============================================================================

require_once( __DIR__ . '/framework/classes/Theme.php' );
require_once( __DIR__ . '/framework/classes/Util/IocContainer.php' );

\Themeco\Theme\Theme::instantiate(
  get_template_directory(),
  get_template_directory_uri()
);



function x_bootstrap() {
  return \Themeco\Theme\Theme::instance();
}

\Themeco\Theme\Theme::instance()->boot([
  // Global Services
  'preinit' => [
    '\Themeco\Theme\Services\ViewRouter',
    '\Themeco\Theme\Services\Enqueue'
  ]
],[

  // Main Includes

  'preinit' => [
    'functions/i18n',
    'functions/setup',
    'functions/plugins/cornerstone',

    // Plugin Integrations
    [ class_exists( 'acf_pro' ), 'functions/plugins/acf-pro' ],
    [ class_exists( 'Convert_Plug' ), 'functions/plugins/convertplug' ],
    [ class_exists( 'Envira_Gallery' ), 'functions/plugins/envira-gallery' ],
    [ class_exists( 'Essential_Grid' ), 'functions/plugins/essential-grid' ],
    [ class_exists( 'LFB_Core' ), 'functions/plugins/estimation-form' ],
    [ class_exists( 'WPLeadInAdmin' ) || class_exists( 'LeadinAdmin' ), 'functions/plugins/hubspot'],
    [ class_exists( 'LS_Sliders' ), 'functions/plugins/layerslider' ],
    [ class_exists( 'MEC' ), 'functions/plugins/modern-events-calendar' ],
    [ class_exists( 'RevSlider' ), 'functions/plugins/revolution-slider' ],
    [ class_exists( 'Soliloquy' ), 'functions/plugins/soliloquy'],
    [ class_exists( 'UberMenu' ), 'functions/plugins/ubermenu'],
    [ defined( 'WP_ROCKET_VERSION' ), 'functions/plugins/wp-rocket' ],
  ]
]);

Youez - 2016 - github.com/yon3zu
LinuXploit