flexible-shipping
/
vendor_prefixed
/
wpdesk
/
wp-plugin-flow-common
/
src
/
plugin-init-php52-free-no-tracker.php
Initialization
2 weeks ago
PluginBootstrap.php
2 weeks ago
plugin-init-php52-free-no-tracker.php
2 weeks ago
plugin-init-php52-free.php
2 weeks ago
plugin-init-php52.php
2 weeks ago
plugin-init-php52-free-no-tracker.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace FSVendor; |
| 4 | |
| 5 | /** |
| 6 | * @var string $plugin_version |
| 7 | * @var string $plugin_name |
| 8 | * @var string $plugin_class_name |
| 9 | * @var string $plugin_text_domain |
| 10 | * @var string $plugin_dir |
| 11 | * @var string $plugin_file |
| 12 | * @var array $requirements |
| 13 | * @var string $product_id |
| 14 | */ |
| 15 | if (!\defined('ABSPATH')) { |
| 16 | die; |
| 17 | } |
| 18 | // Code in PHP >= 5.3 but understandable by older parsers |
| 19 | if (\PHP_VERSION_ID > 50300) { |
| 20 | require_once $plugin_dir . '/vendor/autoload.php'; |
| 21 | $plugin_init_factory = new \FSVendor\WPDesk\Plugin\Flow\Initialization\Simple\SimpleFactory(\true, \false); |
| 22 | } |
| 23 | require \dirname(__FILE__) . '/plugin-init-php52.php'; |
| 24 |