Files
2026-04-28 15:13:50 +02:00

76 lines
2.3 KiB
PHP

<?php
/*
* Plugin Name: WooCommerce Przelewy24
* Plugin URI: https://www.wpdesk.pl/sk/woocommerce-gateway-przelewy24-plugin/
* Description: Wtyczka do WooCommerce. Bramka płatności dla systemu Przelewy24.
* Version: 4.1.16
* Author: WP Desk
* Text Domain: woocommerce-gateway-przelewy24
* Domain Path: /lang/
* Author URI: https://www.wpdesk.pl/sk/woocommerce-gateway-przelewy24-author/
* Requires at least: 6.4
* Tested up to: 6.9
* WC requires at least: 10.2
* WC tested up to: 10.6
* Requires PHP: 7.4
*
* Copyright 2017 WP Desk Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
/* Plugin release time */
$plugin_release_timestamp = '2021-11-29 10:35';
/* Plugin version */
$plugin_version = '4.1.16';
/* Plugin info */
$plugin_name = 'WooCommerce Przelewy24';
$product_id = 'WooCommerce Przelewy24';
$plugin_class_name = WPDesk\Przelewy24\Plugin::class;
$plugin_text_domain = 'woocommerce-gateway-przelewy24';
$plugin_file = __FILE__;
$plugin_dir = dirname( __FILE__ );
define( 'WOOCOMMERCE_PRZELEWY24_VERSION', $plugin_version );
define( 'WOOCOMMERCE_PRZELEWY24_PLUGIN_DIR', $plugin_dir );
$requirements = [
'php' => '7.4',
'wp' => '5.0',
'plugins' => [
[
'name' => 'woocommerce/woocommerce.php',
'nice_name' => 'WooCommerce',
],
],
];
add_action( 'before_woocommerce_init', function () {
if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
}
} );
require __DIR__ . '/vendor_prefixed/wpdesk/wp-plugin-flow-common/src/plugin-init-php52.php';