[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
theme-builder
/
theme-support
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 generate-press-theme-support.php
1,867 B
SET
[ EDIT ]
|
[ DEL ]
📄 safe-mode-theme-support.php
900 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: safe-mode-theme-support.php
<?php namespace ElementorPro\Modules\ThemeBuilder\ThemeSupport; use ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Safe_Mode_Theme_Support { /** * @param Locations_Manager $manager */ public function register_locations( $manager ) { $manager->register_core_location( 'header' ); $manager->register_core_location( 'footer' ); } public function do_header() { elementor_theme_do_location( 'header' ); } public function do_footer() { elementor_theme_do_location( 'footer' ); } public function __construct() { add_action( 'elementor/theme/register_locations', [ $this, 'register_locations' ] ); add_action( 'elementor/page_templates/canvas/before_content', [ $this, 'do_header' ], 0 ); add_action( 'elementor/page_templates/canvas/after_content', [ $this, 'do_footer' ], 0 ); } }