| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Flexible Subscriptions |
| 4 |
* Plugin URI: https://www.wpdesk.net/sk/flexible-subscriptions-plugin/ |
| 5 |
* Description: Flexible Subscriptions is a WooCommerce extension that allows you to create flexible subscription products. |
| 6 |
* Version: 1.8.2 |
| 7 |
* Author: WP Desk |
| 8 |
* Author URI: https://www.wpdesk.net/sk/flexible-subscriptions-author/ |
| 9 |
* Text Domain: flexible-subscriptions |
| 10 |
* Domain Path: /lang/ |
| 11 |
* Requires at least: 6.4 |
| 12 |
* Tested up to: 7.0 |
| 13 |
* WC requires at least: 10.7 |
| 14 |
* WC tested up to: 11.0 |
| 15 |
* License: GPL v2 or later |
| 16 |
* Requires PHP: 7.4 |
| 17 |
* Requires Plugins: woocommerce |
| 18 |
* |
| 19 |
* Copyright 2024 WP Desk Ltd. |
| 20 |
* |
| 21 |
* This program is free software; you can redistribute it and/or modify |
| 22 |
* it under the terms of the GNU General Public License as published by |
| 23 |
* the Free Software Foundation; either version 2 of the License, or |
| 24 |
* (at your option) any later version. |
| 25 |
* This program is distributed in the hope that it will be useful, |
| 26 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 27 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 28 |
* GNU General Public License for more details. |
| 29 |
* You should have received a copy of the GNU General Public License |
| 30 |
* along with this program; if not, write to the Free Software |
| 31 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 32 |
*/ |
| 33 |
|
| 34 |
defined( 'ABSPATH' ) || exit; |
| 35 |
|
| 36 |
use WPDesk\FlexibleSubscriptions\Vendor\WPDesk\Init\Init; |
| 37 |
|
| 38 |
require __DIR__ . '/vendor/autoload.php'; |
| 39 |
|
| 40 |
Init::setup( |
| 41 |
[ |
| 42 |
'hook_resources_path' => 'config/hook_providers', |
| 43 |
'services' => 'config/services.inc.php', |
| 44 |
|
| 45 |
'requirements' => [ |
| 46 |
'php' => '7.4', |
| 47 |
'wp' => '6.3', |
| 48 |
'repo_plugins' => [ |
| 49 |
[ |
| 50 |
'name' => 'woocommerce/woocommerce.php', |
| 51 |
'nice_name' => 'WooCommerce', |
| 52 |
'version' => '8.9', |
| 53 |
], |
| 54 |
], |
| 55 |
], |
| 56 |
] |
| 57 |
)->boot(); |
| 58 |
|