PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.0-dev2
Elementor Website Builder – more than just a page builder v4.0.0-dev2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / core / debug / classes / theme-missing.php

theme-missing.php in Elementor Website Builder – more than just a page builder 4.0.0-dev2, at core/debug/classes/theme-missing.php

29 lines 645 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor\Core\Debug\Classes;
3
4 use Elementor\Modules\SafeMode\Module as Safe_Mode;
5
6 class Theme_Missing extends Inspection_Base {
7
8 public function run() {
9 $safe_mode_enabled = get_option( Safe_Mode::OPTION_ENABLED, '' );
10 if ( ! empty( $safe_mode_enabled ) ) {
11 return true;
12 }
13 $theme = wp_get_theme();
14 return $theme->exists();
15 }
16
17 public function get_name() {
18 return 'theme-missing';
19 }
20
21 public function get_message() {
22 return esc_html__( 'Some of your theme files are missing.', 'elementor' );
23 }
24
25 public function get_help_doc_url() {
26 return 'https://go.elementor.com/preview-not-loaded/#theme-files';
27 }
28 }
29