-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpacketa.php
38 lines (34 loc) · 1.05 KB
/
packeta.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* Plugin implementing Packeta shipping methods.
*
* @package Packeta
*
* @wordpress-plugin
*
* Plugin Name: Packeta
* Description: This is the official plugin, that allows you to choose pickup points of Packeta and its external carriers in all of Europe, or utilize address delivery to 25 countries in the European Union, straight from the cart in your e-shop. Furthermore, you can also submit all your orders to Packeta with just one click.
* Version: 1.8.7
* Author: Zásilkovna s.r.o.
* Author URI: https://www.zasilkovna.cz/
* Text Domain: packeta
* Domain Path: /languages
* Requires at least: 5.5
* Requires PHP: 7.2
*
* Tested up to: 6.7
* WC requires at least: 4.5
* WC tested up to: 9.4.1
*
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
use Packetery\Module\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( PHP_SAPI === 'cli' ) {
return;
}
$container = require __DIR__ . '/bootstrap.php';
$container->getByType( Plugin::class )->run();