PluginProbe
Elementor Website Builder – more than just a page builder / 3.4.3
Elementor Website Builder – more than just a page builder v3.4.3
4.3.0-beta3 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 All 452 releases
← All changes | modules/library/documents/not-supported.php +6 -2 4.1.33.4.3 View file →
@@ -4,9 +4,9 @@
4 4 use Elementor\TemplateLibrary\Source_Local;
5 5 use Elementor\Utils;
6 6
7 7 if ( ! defined( 'ABSPATH' ) ) {
8 - exit; // Exit if accessed directly.
8 + exit; // Exit if accessed directly
9 9 }
10 10
11 11 /**
12 12 * Elementor section library document.
@@ -12,8 +12,9 @@
12 12 * Elementor section library document.
13 13 *
14 14 * Elementor section library document handler class is responsible for
15 15 * handling a document of a section type.
16 + *
16 17 */
17 18 class Not_Supported extends Library_Document {
18 19
19 20 /**
@@ -32,9 +33,12 @@
32 33 $properties['admin_tab_group'] = '';
33 34 $properties['register_type'] = false;
34 35 $properties['is_editable'] = false;
35 36 $properties['show_in_library'] = false;
36 - $properties['show_in_finder'] = false;
37 +
38 + $properties['cpt'] = [
39 + Source_Local::CPT,
40 + ];
37 41
38 42 return $properties;
39 43 }
40 44