PluginProbe
Packeta / 2.0.0
Packeta v2.0.0
2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.7.0 All 55 releases
packeta / packeta.php

packeta.php in Packeta 2.0.0, at packeta.php

43 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin implementing Packeta shipping methods.
4 *
5 * @package Packeta
6 *
7 * @wordpress-plugin
8 *
9 * Plugin Name: Packeta
10 * 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.
11 * Version: 2.0.0
12 * Author: Zásilkovna s.r.o.
13 * Author URI: https://www.zasilkovna.cz/
14 * Text Domain: packeta
15 * Domain Path: /languages
16 * Requires at least: 5.5
17 * Requires PHP: 7.2
18 *
19 * Tested up to: 6.7.2
20 * WC requires at least: 5.1
21 * WC tested up to: 9.7.1
22 *
23 * License: GNU General Public License v3.0
24 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
25 */
26
27 use Packetery\Module\Plugin;
28 use Packetery\Nette\DI\Container;
29
30 if ( ! defined( 'ABSPATH' ) ) {
31 exit; // Exit if accessed directly.
32 }
33
34 if ( PHP_SAPI === 'cli' ) {
35 return;
36 }
37
38 /** @var Container $container */
39 $container = require __DIR__ . '/bootstrap.php';
40 /** @var Plugin $packetaPlugin */
41 $packetaPlugin = $container->getByType( Plugin::class );
42 $packetaPlugin->run();
43