PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.2.2
ShopBuilder – WooCommerce Builder For Elementor v2.2.2
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | shopbuilder.php +23 -7 2.1.32.2.2 View file →
@@ -3,21 +3,25 @@
3 3 * @wordpress-plugin
4 4 * Plugin Name: ShopBuilder - Elementor WooCommerce Builder Addons
5 5 * Plugin URI: https://shopbuilderwp.com/
6 6 * Description: WooCommerce Page Builder for Elementor
7 - * Version: 2.1.3
7 + * Version: 2.2.2
8 8 * Author: RadiusTheme
9 9 * Author URI: https://radiustheme.com
10 10 * Text Domain: shopbuilder
11 11 * Domain Path: /languages
12 12 * WC requires at least: 3.2
13 - * WC tested up to: 8.5.2
14 - * Elementor tested up to: 3.19.1
15 - * Elementor Pro tested up to: 3.19.1
13 + * WC tested up to: 9.3
14 + * Elementor tested up to: 3.24
15 + * Elementor Pro tested up to: 3.24
16 + * License: GPLv3
17 + * License URI: http://www.gnu.org/licenses/gpl-3.0.html
16 18 *
17 19 * @package RadiusTheme\SB
18 20 */
19 21
22 +use RadiusTheme\SB\ShopBuilder;
23 +
20 24 // Do not allow directly accessing this file.
21 25 if ( ! defined( 'ABSPATH' ) ) {
22 26 exit( 'This script cannot be accessed directly.' );
23 27 }
@@ -24,15 +28,27 @@
24 28
25 29 /**
26 30 * Define Constants.
27 31 */
28 -define( 'RTSB_VERSION', '2.1.3' );
32 +define( 'RTSB_VERSION', '2.2.2' );
29 33 define( 'RTSB_FILE', __FILE__ );
30 -define( 'RTSB_PATH', plugin_dir_path(__FILE__ ) );
34 +define( 'RTSB_PATH', plugin_dir_path( __FILE__ ) );
31 35 define( 'RTSB_ACTIVE_FILE_NAME', plugin_basename( __FILE__ ) );
32 36
33 37 /**
34 38 * App Init.
35 39 */
36 -require_once 'app/ShopBuilder.php';
40 +require_once RTSB_PATH . 'vendor/autoload.php';
37 41
42 +/**
43 + * @return ShopBuilder
44 + */
45 +function rtsb() {
46 + static $cached_instance;
47 + if ( null !== $cached_instance ) {
48 + return $cached_instance;
49 + }
50 + $cached_instance = ShopBuilder::instance();
51 + return $cached_instance;
52 +}
38 53
54 +rtsb();