-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
depay-payments.php
63 lines (54 loc) · 1.78 KB
/
depay-payments.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin
* and defines a function that starts the plugin.
*
* @link https://depay.com
* @since 1.0.0
* @package DEPAYPAYMENTS
*
* @wordpress-plugin
* Plugin Name: DePay for Wordpress
* Plugin URI: https://depay.com/plugins/wordpress
* Description: Accept Web3 Crypto Payments & Donations. Supports various tokens, blockchains and wallets. MetaMask, Phantom, USDC, USDT, ETH, SOL, BSC, POL, xDAI…
* Version: 3.0.4
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Author: DePay
* Author URI: https://depay.com
* Text Domain: depay-payments
* Domain Path: /languages
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
// Plugin name
define( 'DEPAYPAYMENTS_NAME', 'DePay for Wordpress' );
// Plugin version
define( 'DEPAYPAYMENTS_VERSION', '3.0.4' );
// Plugin Root File
define( 'DEPAYPAYMENTS_PLUGIN_FILE', __FILE__ );
// Plugin base
define( 'DEPAYPAYMENTS_PLUGIN_BASE', plugin_basename( DEPAYPAYMENTS_PLUGIN_FILE ) );
// Plugin Folder Path
define( 'DEPAYPAYMENTS_PLUGIN_DIR', plugin_dir_path( DEPAYPAYMENTS_PLUGIN_FILE ) );
// Plugin Folder URL
define( 'DEPAYPAYMENTS_PLUGIN_URL', plugin_dir_url( DEPAYPAYMENTS_PLUGIN_FILE ) );
/**
* Load the main class for the core functionality
*/
require_once DEPAYPAYMENTS_PLUGIN_DIR . 'core/class-depay-payments.php';
/**
* The main function to load the only instance
* of our master class.
*
* @author DePay
* @since 1.0.0
* @return object|DePay_Payments
*/
function DEPAYPAYMENTS() {
return DePay_Payments::instance();
}
DEPAYPAYMENTS();