/var/www/html_us/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
namespace Elementor;

if ( ! 
defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly.
}

global 
$wp_version;

$body_classes = [
    
'elementor-editor-active',
    
'wp-version-' str_replace'.''-'$wp_version ),
];

if ( 
is_rtl() ) {
    
$body_classes[] = 'rtl';
}

if ( ! 
Plugin::$instance->role_manager->user_can'design' ) ) {
    
$body_classes[] = 'elementor-editor-content-only';
}

$notice Plugin::$instance->editor->notice_bar->get_notice();
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><?php echo sprintfesc_html__'Edit "%s" with Elementor''elementor' ), esc_htmlget_the_title() ) ); ?></title>
    <?php wp_head(); ?>
    <script>
        var ajaxurl = '<?php Utils::print_unescaped_internal_stringadmin_url'admin-ajax.php''relative' ) ); ?>';
    </script>
</head>
<body class="<?php echo esc_attrimplode' '$body_classes ) ); ?>">
<?php
if ( isset( $body_file_path ) ) {
    include 
$body_file_path;
}
?>
<?php
    wp_footer
();
    
/** This action is documented in wp-admin/admin-footer.php */
    
do_action'admin_print_footer_scripts' );
?>
</body>
</html>