| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Autopay for WooCommerce |
| 4 |
Plugin URI: https://www.wpdesk.pl/ |
| 5 |
Description: Autopay online payments for WooCommerce. Pay quickly and securely with electronic transfer, BLIK, G-Pay, Apple Pay or credit card. |
| 6 |
Version: 2.2.8 |
| 7 |
Author: WP Desk |
| 8 |
Text Domain: pay-wp |
| 9 |
Domain Path: /lang/ |
| 10 |
Author URI: http://www.wpdesk.pl/ |
| 11 |
Requires at least: 5.8 |
| 12 |
Tested up to: 6.6 |
| 13 |
WC requires at least: 8.8 |
| 14 |
WC tested up to: 9.2 |
| 15 |
Requires PHP: 7.4 |
| 16 |
|
| 17 |
Copyright 2022 WP Desk Ltd. |
| 18 |
|
| 19 |
This program is free software; you can redistribute it and/or modify |
| 20 |
it under the terms of the GNU General Public License as published by |
| 21 |
the Free Software Foundation; either version 2 of the License, or |
| 22 |
(at your option) any later version. |
| 23 |
|
| 24 |
This program is distributed in the hope that it will be useful, |
| 25 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 26 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 27 |
GNU General Public License for more details. |
| 28 |
|
| 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 |
if ( ! defined( 'ABSPATH' ) ) { |
| 35 |
exit; |
| 36 |
} // Exit if accessed directly |
| 37 |
|
| 38 |
|
| 39 |
/* THESE TWO VARIABLES CAN BE CHANGED AUTOMATICALLY */ |
| 40 |
$plugin_version = '2.2.8'; |
| 41 |
$plugin_release_timestamp = '2023-06-05 08:23'; |
| 42 |
|
| 43 |
$plugin_name = 'Autopay dla WooCommerce'; |
| 44 |
$product_id = 'Autopay dla WooCommerce'; |
| 45 |
$plugin_class_name = \WPDesk\GatewayWPPay\Plugin::class; |
| 46 |
$plugin_text_domain = 'pay-wp'; |
| 47 |
|
| 48 |
$plugin_file = __FILE__; |
| 49 |
$plugin_dir = __DIR__; |
| 50 |
|
| 51 |
define( $plugin_class_name, $plugin_version ); |
| 52 |
|
| 53 |
$requirements = array( |
| 54 |
'php' => '7.4', |
| 55 |
'wp' => '6.1', |
| 56 |
'plugins' => array( |
| 57 |
array( |
| 58 |
'name' => 'woocommerce/woocommerce.php', |
| 59 |
'nice_name' => 'WooCommerce', |
| 60 |
), |
| 61 |
), |
| 62 |
); |
| 63 |
|
| 64 |
add_action( 'before_woocommerce_init', function () { |
| 65 |
if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) { |
| 66 |
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); |
| 67 |
} |
| 68 |
} ); |
| 69 |
|
| 70 |
require __DIR__ . '/vendor_prefixed/wpdesk/wp-plugin-flow-common/src/plugin-init-php52-free.php'; |
| 71 |
|