-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·36 lines (32 loc) · 950 Bytes
/
index.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
<?php
/**
* Plugin Name: RapidDive BARCLAY ePDQ Payment Gateway
* Plugin URI: https://rapiddive.com/barclaycard-epdq-payment-gateway.html
* Description: Barclay Card ePDQ payment gateway integration for woocommerce users.
* Version: 2.3.8
* Author: Vinay Shah
* Author URI: https://vinayshah.in
* Developer: Vinay Shah
* Developer URI: https://vinayshah.in
* Text Domain: rapiddive-barclay
*
* Copyright: © 2009-2015 WooCommerce.
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
declare( strict_types=1 );
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Check if WooCommerce is active
**/
if ( in_array(
'woocommerce/woocommerce.php',
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ),
true
) ) {
require 'classes/rapiddive_barclay_payment.php';
global $rapiddive_barclay_payment;
$rapiddive_barclay_payment = new RapidDive_Barclay_Payment( __FILE__ );
}