82 lines
2.3 KiB
PHP
82 lines
2.3 KiB
PHP
<?php
|
|
/**
|
|
* Plugin Name: WooCommerce DHL
|
|
* Plugin URI: https://www.wpdesk.pl/sklep/dhl-woocommerce/
|
|
* Description: Integracja WooCommerce z DHL.
|
|
* Version: 1.12.8
|
|
* Author: WP Desk
|
|
* Author URI: https://www.wpdesk.net/
|
|
* Text Domain: woocommerce-dhl
|
|
* Domain Path: /lang/
|
|
* Requires at least: 5.8
|
|
* Tested up to: 6.3
|
|
* WC requires at least: 7.6
|
|
* WC tested up to: 8.0
|
|
* 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 Dhl
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
} // Exit if accessed directly
|
|
|
|
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
|
$plugin_version = '1.12.8';
|
|
|
|
$plugin_name = 'WooCommerce DHL';
|
|
$product_id = 'WooCommerce DHL';
|
|
$plugin_class_name = 'WooCommerce_DHL_Plugin';
|
|
$plugin_text_domain = 'woocommerce-dhl';
|
|
$plugin_file = __FILE__;
|
|
$plugin_dir = __DIR__;
|
|
|
|
define( $plugin_class_name, $plugin_version );
|
|
define( 'WOOCOMMERCE_DHL_VERSION', $plugin_version );
|
|
|
|
$plugin_shops = [
|
|
'default' => 'https://www.wpdesk.pl/',
|
|
];
|
|
|
|
$requirements = [
|
|
'php' => '7.2',
|
|
'wp' => '5.0',
|
|
'repo_plugins' => [
|
|
[
|
|
'name' => 'flexible-shipping/flexible-shipping.php',
|
|
'nice_name' => 'Flexible Shipping',
|
|
'version' => '4.0.0',
|
|
],
|
|
[
|
|
'name' => 'woocommerce/woocommerce.php',
|
|
'nice_name' => 'WooCommerce',
|
|
'version' => '6.6',
|
|
],
|
|
],
|
|
'modules' => [
|
|
[
|
|
'name' => 'soap',
|
|
'nice_name' => 'SOAP',
|
|
],
|
|
],
|
|
];
|
|
|
|
require_once( plugin_basename( 'inc/wpdesk-woo27-functions.php' ) );
|
|
require __DIR__ . '/vendor_prefixed/wpdesk/wp-plugin-flow-common/src/plugin-init-php52.php';
|