| @@ -1,54 +1,45 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @wordpress-plugin |
| 4 | - * Plugin Name: ShopBuilder - Elementor WooCommerce Builder Addons | |
| 5 | - * Plugin URI: https://shopbuilderwp.com/ | |
| 6 | - * Description: WooCommerce Page Builder for Elementor | |
| 7 | - * Version: 2.2.0 | |
| 8 | - * Author: RadiusTheme | |
| 9 | - * Author URI: https://radiustheme.com | |
| 10 | - * Text Domain: shopbuilder | |
| 11 | - * Domain Path: /languages | |
| 12 | - * WC requires at least: 3.2 | |
| 13 | - * WC tested up to: 9.1 | |
| 14 | - * Elementor tested up to: 3.23 | |
| 15 | - * Elementor Pro tested up to: 3.23 | |
| 16 | - * License: GPLv3 | |
| 17 | - * License URI: http://www.gnu.org/licenses/gpl-3.0.html | |
| 4 | + * Plugin Name: ShopBuilder – Elementor WooCommerce Builder Addons | |
| 5 | + * Plugin URI: https://shopbuilderwp.com/ | |
| 6 | + * Description: WooCommerce Page Builder for Elementor | |
| 7 | + * Version: 2.0.2 | |
| 8 | + * Author: RadiusTheme | |
| 9 | + * Author URI: https://radiustheme.com | |
| 10 | + * Text Domain: shopbuilder | |
| 11 | + * Domain Path: /languages | |
| 12 | + * WC requires at least: 3.2 | |
| 13 | + * WC tested up to: 8.0.2 | |
| 14 | + * Elementor tested up to: 3.17.0 | |
| 18 | 15 | * |
| 19 | 16 | * @package RadiusTheme\SB |
| 20 | 17 | */ |
| 21 | 18 | |
| 22 | -use RadiusTheme\SB\ShopBuilder; | |
| 19 | +// Do not allow directly accessing this file. | |
| 23 | 20 | |
| 24 | -// Do not allow directly accessing this file. | |
| 25 | 21 | if ( ! defined( 'ABSPATH' ) ) { |
| 26 | 22 | exit( 'This script cannot be accessed directly.' ); |
| 27 | 23 | } |
| 28 | 24 | |
| 29 | 25 | /** |
| 30 | - * Define Constants. | |
| 26 | + * Define RTCL Content. | |
| 31 | 27 | */ |
| 32 | -define( 'RTSB_VERSION', '2.2.0' ); | |
| 28 | + | |
| 29 | +define( 'RTSB_VERSION', '2.0.2' ); | |
| 30 | + | |
| 33 | 31 | define( 'RTSB_FILE', __FILE__ ); |
| 34 | -define( 'RTSB_PATH', plugin_dir_path( __FILE__ ) ); | |
| 32 | + | |
| 33 | +define( 'RTSB_PATH', plugin_dir_path(__FILE__ ) ); | |
| 34 | + | |
| 35 | 35 | define( 'RTSB_ACTIVE_FILE_NAME', plugin_basename( __FILE__ ) ); |
| 36 | 36 | |
| 37 | + | |
| 37 | 38 | /** |
| 38 | 39 | * App Init. |
| 39 | 40 | */ |
| 40 | -require_once RTSB_PATH . 'vendor/autoload.php'; | |
| 41 | +// require_once 'dev-helpers.php'; | |
| 41 | 42 | |
| 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 | -} | |
| 43 | +require_once 'app/ShopBuilder.php'; | |
| 53 | 44 | |
| 54 | -rtsb(); | |
| 45 | + | |