81 lines
2.2 KiB
PHP
81 lines
2.2 KiB
PHP
<?php
|
||
/**
|
||
* Plugin Name: WooCommerce DPD
|
||
* Plugin URI: https://www.wpdesk.pl/sklep/dpd-woocommerce/
|
||
* Description: Integracja WooCommerce z DPD.
|
||
* Version: 2.15.5
|
||
* Author: WP Desk
|
||
* Author URI: https://www.wpdesk.pl/
|
||
* Text Domain: woocommerce-dpd
|
||
* Domain Path: /lang/
|
||
* Requires at least: 5.8
|
||
* Tested up to: 6.3
|
||
* WC requires at least: 7.8
|
||
* WC tested up to: 8.2
|
||
* Requires PHP: 7.3
|
||
*
|
||
* 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
|
||
*
|
||
* @package Woocommerce Dpd
|
||
**/
|
||
|
||
if ( ! defined( 'ABSPATH' ) ) {
|
||
exit;
|
||
} // Exit if accessed directly
|
||
|
||
|
||
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
||
$plugin_version = '2.15.5';
|
||
|
||
$plugin_name = 'WooCommerce DPD';
|
||
$plugin_class_name = 'WPDesk_WooCommerce_DPD_Plugin';
|
||
$plugin_text_domain = 'woocommerce-dpd';
|
||
$product_id = 'WooCommerce DPD';
|
||
$plugin_file = __FILE__;
|
||
$plugin_dir = __DIR__;
|
||
$plugin_shops = [
|
||
'default' => 'https://www.wpdesk.pl/',
|
||
];
|
||
|
||
define( $plugin_class_name, $plugin_version );
|
||
define( 'WOOCOMMERCE_DPD_VERSION', $plugin_version );
|
||
|
||
$requirements = [
|
||
'php' => '7.0',
|
||
'wp' => '4.5',
|
||
'repo_plugins' => [
|
||
[
|
||
'name' => 'flexible-shipping/flexible-shipping.php',
|
||
'nice_name' => 'Flexible Shipping',
|
||
'version' => '3.7',
|
||
],
|
||
[
|
||
'name' => 'woocommerce/woocommerce.php',
|
||
'nice_name' => 'WooCommerce',
|
||
'version' => '5.6',
|
||
],
|
||
],
|
||
'modules' => [
|
||
[
|
||
'name' => 'soap',
|
||
'nice_name' => 'SOAP',
|
||
],
|
||
],
|
||
];
|
||
|
||
require __DIR__ . '/vendor_prefixed/wpdesk/wp-plugin-flow-common/src/plugin-init-php52.php';
|