| Server IP : 77.39.210.126 / Your IP : 216.73.216.203 Web Server : Apache System : Linux v00l0v-vmpcnews.sphostserver.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64 User : artecasarepresti ( 1022) PHP Version : 7.4.33 Disable Function : dl,passthru,proc_open,proc_close,proc_terminate,shell_exec,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/artecasarepresti/www/wp-content/themes/Avada/includes/lib/inc/fusion-app/ |
Upload File : |
<?php
/**
* Instantiate the builder.
*
* @since 2.0
* @package fusion-library
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'Fusion_App' ) ) {
include_once wp_normalize_path( dirname( __FILE__ ) . '/class-fusion-app.php' );
}
add_action( 'init', 'load_builder_class' );
/**
* Instantiate Fusion_App class.
*/
function load_builder_class() {
if ( apply_filters( 'fusion_load_live_editor', is_user_logged_in() ) ) {
$app = Fusion_App::get_instance();
if ( $app->get_builder_status() || $app->get_preview_status() || $app->get_ajax_status() ) {
// Load internal modules ( panel, fusion builder ).
do_action( 'fusion_load_internal_module' );
// Action for loading custom modules.
do_action( 'fusion_load_module' );
}
}
}