-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcdek.php
More file actions
30 lines (26 loc) · 788 Bytes
/
cdek.php
File metadata and controls
30 lines (26 loc) · 788 Bytes
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
<?php
/**
* Plugin Name: CDEKDelivery
* Plugin URI: https://www.cdek.ru/ru/integration/modules/33
* Description: CDEK delivery integration for WooCommerce
* Version: dev
* Requires at least: 6.0
* Text Domain: cdekdelivery
* Domain Path: /lang
* Requires PHP: 7.4
* Requires Plugins: woocommerce
* Author: CDEKIT
* Author URI: https://cdek.ru
* WC requires at least: 6.9
* WC tested up to: 9.7
* License: GPLv3
*/
defined('ABSPATH') or exit;
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
require __DIR__ . '/vendor/autoload.php';
}
if (!class_exists(\Cdek\Loader::class)) {
trigger_error('CDEKDelivery not fully installed! Please install with Composer or download full release archive.',
E_USER_ERROR);
}
\Cdek\Loader::new()(__FILE__);