PluginProbe
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management / 0.0.1
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management v0.0.1
1.5.1 1.5.0 1.4.0 1.3.0 trunk 0.0.1 1.0.0 1.1.0 1.1.1 1.1.2 1.2.0
suredonation / suredonation.php

suredonation.php in SureDonation – Donation Forms, Fundraising Campaigns & Donor Management 0.0.1, at suredonation.php

42 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: SureDonation
4 * Plugin URI: https://suredonation.com
5 * Description: A powerful donation management plugin for WordPress with campaign tracking, payment processing, and donor management.
6 * Version: 0.0.1
7 * Author: SureDonation
8 * Text Domain: suredonation
9 * Requires at least: 6.4
10 * Requires PHP: 7.4
11 * License: GPL v2 or later
12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13 *
14 * @package SureDonation
15 */
16
17 // Exit if accessed directly.
18 if ( ! defined( 'ABSPATH' ) ) {
19 exit;
20 }
21
22 /**
23 * Define plugin constants.
24 */
25 define( 'SUREDONATION_VER', '0.0.1' );
26 define( 'SUREDONATION_FILE', __FILE__ );
27 define( 'SUREDONATION_DIR', plugin_dir_path( __FILE__ ) );
28 define( 'SUREDONATION_URL', plugin_dir_url( __FILE__ ) );
29 define( 'SUREDONATION_BASENAME', plugin_basename( __FILE__ ) );
30 define( 'SUREDONATION_POST_TYPE', 'suredonation_cmpgn' );
31
32 /**
33 * Middleware base URL for payment processing.
34 * This can be overridden for local/staging environments.
35 */
36 define( 'SUREDONATION_MIDDLEWARE_BASE_URL', 'https://api.sureforms.com/' );
37
38 /**
39 * Load the plugin loader.
40 */
41 require_once SUREDONATION_DIR . 'plugin-loader.php';
42