PluginProbe
Premmerce / 1.1
Premmerce v1.1
trunk 1.0 1.1 1.2 1.2.1 1.3 1.3.10 1.3.11 1.3.12 1.3.13 1.3.14 1.3.15 1.3.16 1.3.17 1.3.18 1.3.19 1.3.2 1.3.20 1.3.21 1.3.22 1.3.23 1.3.3 1.3.4 1.3.5 1.3.6 All 28 releases
premmerce / premmerce.php

premmerce.php in Premmerce 1.1, at premmerce.php

52 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use Premmerce\Premmerce\PremmercePlugin;
4
5
6 /**
7 * Premmerce Premium plugin
8 *
9 * @wordpress-plugin
10 * Plugin Name: Premmerce
11 * Plugin URI: https://premmerce.com/premmerce-main-plugin-woocommerce-plugins-bundle/
12 * Description: Premmerce is a must-have toolkit for WooCommerce with a detailed Setup Wizard for your store.
13 * Version: 1.1
14 * Author: premmerce
15 * Author URI: https://premmerce.com
16 * License: GPL-2.0+
17 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
18 * Text Domain: premmerce
19 * Domain Path: /languages
20 *
21 *
22 * @fs_premium_only /extra
23 * @fs_premium_only /src/Admin/Handlers/PremiumHandler.php
24 */
25
26 // If this file is called directly, abort.
27 if(!defined('WPINC')){
28 die;
29 }
30
31 if(!function_exists('premmerce_pwk_fs')){
32
33 call_user_func(function(){
34
35 require_once plugin_dir_path(__FILE__) . 'vendor/autoload.php';
36
37 require_once plugin_dir_path(__FILE__) . 'freemius.php';
38
39 $main = new PremmercePlugin(__FILE__);
40
41 register_activation_hook(__FILE__, [$main, 'activate']);
42
43 register_deactivation_hook(__FILE__, [$main, 'deactivate']);
44
45 register_uninstall_hook(__FILE__, [PremmercePlugin::class, 'uninstall']);
46
47 $main->run();
48
49 });
50
51 }
52