superb-blocks
Last commit date
assets
2 years ago
blocks
2 years ago
src
2 years ago
vendor
2 years ago
plugin.php
2 years ago
readme.txt
2 years ago
plugin.php
55 lines
| 1 | <?php |
| 2 | |
| 3 | namespace SuperbAddons; |
| 4 | |
| 5 | /* |
| 6 | Plugin Name: Superb Addons - WordPress & Elementor Addons |
| 7 | Plugin URI: http://superbthemes.com/ |
| 8 | Description: Superb Addons - WordPress & Elementor Addons |
| 9 | Version: 3.1.0 |
| 10 | Author: SuperbThemes |
| 11 | Author URI: http://superbthemes.com/ |
| 12 | Text Domain: superb-blocks |
| 13 | * Elementor tested up to: 3.17.3 |
| 14 | */ |
| 15 | |
| 16 | defined('ABSPATH') || exit; |
| 17 | |
| 18 | if (!defined('WPINC')) { |
| 19 | die; |
| 20 | } |
| 21 | // Constants |
| 22 | if (!defined('SUPERBADDONS_VERSION')) { |
| 23 | define('SUPERBADDONS_VERSION', '3.1.0'); |
| 24 | } |
| 25 | |
| 26 | if (!defined('SUPERBADDONS_BASE')) { |
| 27 | define('SUPERBADDONS_BASE', plugin_basename(__FILE__)); |
| 28 | } |
| 29 | |
| 30 | if (!defined('SUPERBADDONS_BASE_PATH')) { |
| 31 | define('SUPERBADDONS_BASE_PATH', __FILE__); |
| 32 | } |
| 33 | |
| 34 | if (!defined('SUPERBADDONS_PATH')) { |
| 35 | define('SUPERBADDONS_PATH', untrailingslashit(plugins_url('', SUPERBADDONS_BASE_PATH))); |
| 36 | } |
| 37 | |
| 38 | if (!defined('SUPERBADDONS_PLUGIN_DIR')) { |
| 39 | define('SUPERBADDONS_PLUGIN_DIR', plugin_dir_path(SUPERBADDONS_BASE_PATH)); |
| 40 | } |
| 41 | |
| 42 | if (!defined('SUPERBADDONS_ASSETS_PATH')) { |
| 43 | define('SUPERBADDONS_ASSETS_PATH', SUPERBADDONS_PATH . '/assets'); |
| 44 | } |
| 45 | // |
| 46 | |
| 47 | // Autoload |
| 48 | require_once SUPERBADDONS_PLUGIN_DIR . 'vendor/autoload.php'; |
| 49 | |
| 50 | use SuperbAddons\SuperbAddonsPlugin; |
| 51 | |
| 52 | SuperbAddonsPlugin::GetInstance(); |
| 53 | |
| 54 | // |
| 55 |