superb-blocks
Last commit date
assets
1 month ago
blocks
1 month ago
src
1 month ago
vendor
1 month ago
composer.json
1 month ago
plugin.php
1 month ago
readme.txt
1 month ago
plugin.php
62 lines
| 1 | <?php |
| 2 | |
| 3 | namespace SuperbAddons; |
| 4 | |
| 5 | /* |
| 6 | Plugin Name: Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More |
| 7 | Plugin URI: https://superbthemes.com/ |
| 8 | Description: Enhance your website building experience with our user-friendly tools and features. Create stunning designs effortlessly using our blocks, patterns, and theme designer for the Block Editor & FSE. |
| 9 | Version: 4.0.2 |
| 10 | Author: SuperbThemes |
| 11 | Author URI: https://superbthemes.com/ |
| 12 | License: GPL-3.0+ |
| 13 | License URI: https://www.gnu.org/licenses/gpl-3.0.txt |
| 14 | Text Domain: superb-blocks |
| 15 | * Elementor tested up to: 4.0.8 |
| 16 | * Elementor Pro tested up to: 4.0.8 |
| 17 | */ |
| 18 | |
| 19 | defined('ABSPATH') || exit; |
| 20 | |
| 21 | if (!defined('WPINC')) { |
| 22 | die; |
| 23 | } |
| 24 | // Constants |
| 25 | if (!defined('SUPERBADDONS_VERSION')) { |
| 26 | define('SUPERBADDONS_VERSION', '4.0.2'); |
| 27 | } |
| 28 | |
| 29 | if (!defined('SUPERBADDONS_LIBRARY_VERSION')) { |
| 30 | define('SUPERBADDONS_LIBRARY_VERSION', 102); |
| 31 | } |
| 32 | |
| 33 | if (!defined('SUPERBADDONS_BASE')) { |
| 34 | define('SUPERBADDONS_BASE', plugin_basename(__FILE__)); |
| 35 | } |
| 36 | |
| 37 | if (!defined('SUPERBADDONS_BASE_PATH')) { |
| 38 | define('SUPERBADDONS_BASE_PATH', __FILE__); |
| 39 | } |
| 40 | |
| 41 | if (!defined('SUPERBADDONS_PATH')) { |
| 42 | define('SUPERBADDONS_PATH', untrailingslashit(plugins_url('', SUPERBADDONS_BASE_PATH))); |
| 43 | } |
| 44 | |
| 45 | if (!defined('SUPERBADDONS_PLUGIN_DIR')) { |
| 46 | define('SUPERBADDONS_PLUGIN_DIR', plugin_dir_path(SUPERBADDONS_BASE_PATH)); |
| 47 | } |
| 48 | |
| 49 | if (!defined('SUPERBADDONS_ASSETS_PATH')) { |
| 50 | define('SUPERBADDONS_ASSETS_PATH', SUPERBADDONS_PATH . '/assets'); |
| 51 | } |
| 52 | // |
| 53 | |
| 54 | // Autoload |
| 55 | require_once SUPERBADDONS_PLUGIN_DIR . 'vendor/autoload.php'; |
| 56 | |
| 57 | use SuperbAddons\SuperbAddonsPlugin; |
| 58 | |
| 59 | SuperbAddonsPlugin::GetInstance(); |
| 60 | |
| 61 | // |
| 62 |