-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwc-serbian-nestpay.php
32 lines (29 loc) · 1.35 KB
/
wc-serbian-nestpay.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
<?php
/**
* Plugin Name: Payment gateway NestPay for WooCommerce
* Plugin URI: https://oblak.studio/
* Description: Payment Gateway for WooCommerce allowing you to process card payments from all banks using NestPay system
* Version: 1.3.1
* Author: Oblak Studio
* Author URI: https://oblak.studio
* Requires at least: 6.2
* Tested up to: 6.5
* Requires PHP: 8.0
* WC requires at least: 8.0
* WC tested up to: 8.9
* Text Domain: wc-serbian-nestpay
* Domain Path: /languages
* Requires Plugins: woocommerce
*
* @package WooCommerce NestPay Payment Gateway
*/
//phpcs:disable WordPress.WhiteSpace.OperatorSpacing.SpacingBefore
defined( 'ABSPATH' ) || exit;
defined( 'WCNPG_PLUGIN_FILE' ) || define( 'WCNPG_PLUGIN_FILE', __FILE__ );
defined( 'WCNPG_ABSPATH' ) || define( 'WCNPG_ABSPATH', dirname( WCNPG_PLUGIN_FILE ) . '/' );
defined( 'WCNPG_PLUGIN_BASENAME' ) || define( 'WCNPG_PLUGIN_BASENAME', plugin_basename( WCNPG_PLUGIN_FILE ) );
defined( 'WCNPG_PLUGIN_PATH' ) || define( 'WCNPG_PLUGIN_PATH', plugin_dir_path( WCNPG_PLUGIN_FILE ) );
defined( 'WCNPG_VERSION' ) || define( 'WCNPG_VERSION', '1.2.2' );
//phpcs:enable
require __DIR__ . '/vendor/autoload_packages.php';
add_action( 'woocommerce_loaded', 'WCNPG', 0 );