PluginProbe
Elementor Website Builder – more than just a page builder / 3.19.2
Elementor Website Builder – more than just a page builder v3.19.2
4.3.1 4.3.0 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 All 454 releases
← All changes | modules/page-templates/templates/canvas.php +2 -5 4.3.1 → 3.19.2 View file →
@@ -24,10 +24,9 @@
24 24 ?>
25 25 </head>
26 26 <body <?php body_class(); ?>>
27 27 <?php
28 - wp_body_open();
29 -
28 + Elementor\Modules\PageTemplates\Module::body_open();
30 29 /**
31 30 * Before canvas page template content.
32 31 *
33 32 * Fires before the content of Elementor canvas page template.
@@ -35,11 +34,9 @@
35 34 * @since 1.0.0
36 35 */
37 36 do_action( 'elementor/page_templates/canvas/before_content' );
38 37
39 - $module = apply_filters( 'elementor/render_mode/module', 'page-templates' );
40 -
41 - \Elementor\Plugin::$instance->modules_manager->get_modules( $module )->print_content();
38 + \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content();
42 39
43 40 /**
44 41 * After canvas page template content.
45 42 *