PluginProbe
Ultimate Store Kit / 3.0.8
Ultimate Store Kit v3.0.8
3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.0.7 3.0.5 3.0.4 3.0.3 3.0.2 trunk 1.5.0 1.5.1 1.5.2 1.6.1 1.6.2 1.6.3 1.6.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 92 releases
ultimate-store-kit / base / module-base.php

module-base.php in Ultimate Store Kit 3.0.8, at base/module-base.php

23 lines 566 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace UltimateStoreKit\Base;
4
5 use UltimateStoreKit\Includes\Builder\Builder_Widget_Base;
6 use UltimateStoreKit\Ultimate_Store_Kit_Loader;
7
8 if (!defined('ABSPATH')) {
9 exit; // Exit if accessed directly.
10 }
11 //Ultimate_Woo_Kit_Widget_Base
12 abstract class Module_Base extends Builder_Widget_Base {
13
14 protected function usk_is_edit_mode() {
15
16 if (Ultimate_Store_Kit_Loader::elementor()->preview->is_preview_mode() || Ultimate_Store_Kit_Loader::elementor()->editor->is_edit_mode()) {
17 return true;
18 }
19
20 return false;
21 }
22 }
23