-
Notifications
You must be signed in to change notification settings - Fork 0
/
wc-worldpay.php
30 lines (25 loc) · 739 Bytes
/
wc-worldpay.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
<?php
/**
* Plugin Name: WC WorldPay
* Plugin URI: https://www.itineris.co.uk/
* Description: WorldPay integration for WooCommerce.
* Version: 0.1.2
* Author: Itineris Limited
* Author URI: https://www.itineris.co.uk/
* License: GPL-2.0-or-later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: wc-worldpay
*/
declare(strict_types=1);
namespace Itineris\WCWorldpay;
// If this file is called directly, abort.
if (! defined('WPINC')) {
die;
}
if (file_exists(__DIR__ . '/vendor/autoload.php')) {
require_once __DIR__ . '/vendor/autoload.php';
}
add_action('plugins_loaded', function(): void {
$plugin = new Plugin();
$plugin->run();
});