PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.76
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.76
51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 51.1.46 51.1.47 51.1.49 All 37 releases
king-addons / includes / extensions / Theme_Builder / templates / theme-builder.php

theme-builder.php in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.76, at includes/extensions/Theme_Builder/templates/theme-builder.php

35 lines 675 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Theme Builder front-end template loader.
4 *
5 * @package King_Addons
6 */
7
8 use Elementor\Plugin as Elementor_Plugin;
9
10 if (!defined('ABSPATH')) {
11 exit;
12 }
13
14 $template_id = (int) apply_filters('king_addons/theme_builder/current_template_id', 0);
15
16 if (!$template_id) {
17 return;
18 }
19
20 get_header();
21
22 do_action('king_addons/theme_builder/before_content', $template_id);
23
24 if (class_exists(Elementor_Plugin::class)) {
25 echo Elementor_Plugin::instance()->frontend->get_builder_content_for_display($template_id); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
26 }
27
28 do_action('king_addons/theme_builder/after_content', $template_id);
29
30 get_footer();
31
32
33
34
35