403Webshell
Server IP : 146.190.157.162  /  Your IP : 216.73.216.123
Web Server : Apache
System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64
User : aragonviento ( 849)
PHP Version : 8.2.10-2ubuntu2.2
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/aragonviento/wp-content/themes/Divi/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/aragonviento/wp-content/themes/Divi/includes//theme-builder.php
<?php
// Prevent file from being loaded directly
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

/**
 * Output the opening page container div.
 *
 * @since ??
 *
 * @return void
 */
function et_divi_filter_theme_builder_template_before_page_wrappers() {
    get_template_part( 'theme-before-wrappers' );
}
add_action( 'et_theme_builder_template_before_page_wrappers', 'et_divi_filter_theme_builder_template_before_page_wrappers' );

/**
 * Output the header if necessary.
 *
 * @since ??
 *
 * @param integer $layout_id
 * @param bool $layout_enabled
 *
 * @return void
 */
function et_divi_filter_theme_builder_template_before_header( $layout_id, $layout_enabled ) {
    if ( 0 === $layout_id && $layout_enabled ) {
        get_template_part( 'theme-header' );
    }
}
add_action( 'et_theme_builder_template_before_header', 'et_divi_filter_theme_builder_template_before_header', 10, 2 );

/**
 * Output the opening page container div.
 *
 * @since ??
 *
 * @return void
 */
function et_divi_filter_theme_builder_template_after_header() {
    get_template_part( 'theme-after-header' );
}
add_action( 'et_theme_builder_template_after_header', 'et_divi_filter_theme_builder_template_after_header' );

/**
 * Output the opening main content div.
 *
 * @since ??
 *
 * @return void
 */
function et_divi_filter_theme_builder_template_before_body() {
    ?>
    <div id="main-content">
    <?php
}
add_action( 'et_theme_builder_template_before_body', 'et_divi_filter_theme_builder_template_before_body' );

/**
 * Output the closing main content div.
 *
 * @since ??
 *
 * @return void
 */
function et_divi_filter_theme_builder_template_after_body() {
    ?>
    </div>
    <?php
}
add_action( 'et_theme_builder_template_after_body', 'et_divi_filter_theme_builder_template_after_body' );

/**
 * Output the footer if necessary.
 *
 * @since ??
 *
 * @param integer $layout_id
 * @param bool $layout_enabled
 *
 * @return void
 */
function et_divi_filter_theme_builder_template_after_footer( $layout_id, $layout_enabled ) {
    if ( 0 === $layout_id && $layout_enabled ) {
        get_template_part( 'theme-footer' );
    }

    get_template_part( 'theme-after-footer' );
}
add_action( 'et_theme_builder_template_after_footer', 'et_divi_filter_theme_builder_template_after_footer', 10, 2 );

/**
 * Output the closing page container div.
 *
 * @since ??
 *
 * @return void
 */
function et_divi_filter_theme_builder_template_after_page_wrappers() {
    get_template_part( 'theme-after-wrappers' );
}
add_action( 'et_theme_builder_template_after_page_wrappers', 'et_divi_filter_theme_builder_template_after_page_wrappers' );

/**
 * Disable TB hooks in order to be compatible with LearnDash's Focus mode.
 *
 * @since ??
 */
function et_divi_action_theme_builder_compatibility_learndash_focus_mode() {
	remove_action( 'et_theme_builder_template_before_page_wrappers', 'et_divi_filter_theme_builder_template_before_page_wrappers' );
	remove_action( 'et_theme_builder_template_before_header', 'et_divi_filter_theme_builder_template_before_header' );
	remove_action( 'et_theme_builder_template_after_header', 'et_divi_filter_theme_builder_template_after_header' );
	remove_action( 'et_theme_builder_template_before_body', 'et_divi_filter_theme_builder_template_before_body' );
	remove_action( 'et_theme_builder_template_after_body', 'et_divi_filter_theme_builder_template_after_body' );
	remove_action( 'et_theme_builder_template_after_footer', 'et_divi_filter_theme_builder_template_after_footer' );
	remove_action( 'et_theme_builder_template_after_page_wrappers', 'et_divi_filter_theme_builder_template_after_page_wrappers' );
}
add_action( 'et_theme_builder_compatibility_learndash_focus_mode', 'et_divi_action_theme_builder_compatibility_learndash_focus_mode' );

Youez - 2016 - github.com/yon3zu
LinuXploit