This repository was archived by the owner on Dec 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdepay-donations.php
More file actions
63 lines (54 loc) · 1.74 KB
/
depay-donations.php
File metadata and controls
63 lines (54 loc) · 1.74 KB
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 DEPAYDONATIONS
*
* @wordpress-plugin
* Plugin Name: DePay Donations
* Plugin URI: https://depay.com/plugins/wordpress
* Description: Deprecated! Please install DePay's new plugin: https://wordpress.org/plugins/depay-payments/
* Version: 2.4.2
* 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-donations
* Domain Path: /languages
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
// Plugin name
define( 'DEPAYDONATIONS_NAME', 'DePay Donations' );
// Plugin version
define( 'DEPAYDONATIONS_VERSION', '2.4.2' );
// Plugin Root File
define( 'DEPAYDONATIONS_PLUGIN_FILE', __FILE__ );
// Plugin base
define( 'DEPAYDONATIONS_PLUGIN_BASE', plugin_basename( DEPAYDONATIONS_PLUGIN_FILE ) );
// Plugin Folder Path
define( 'DEPAYDONATIONS_PLUGIN_DIR', plugin_dir_path( DEPAYDONATIONS_PLUGIN_FILE ) );
// Plugin Folder URL
define( 'DEPAYDONATIONS_PLUGIN_URL', plugin_dir_url( DEPAYDONATIONS_PLUGIN_FILE ) );
/**
* Load the main class for the core functionality
*/
require_once DEPAYDONATIONS_PLUGIN_DIR . 'core/class-depay-donations.php';
/**
* The main function to load the only instance
* of our master class.
*
* @author DePay
* @since 1.0.0
* @return object|DePay_Donations
*/
function DEPAYDONATIONS() {
return DePay_Donations::instance();
}
DEPAYDONATIONS();