-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmg-instamojo-for-give.php
42 lines (37 loc) · 1.13 KB
/
mg-instamojo-for-give.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
<?php
/**
* Instamojo for Give - WordPress Plugin
*
* @package Instamojo for Give
* @author Mehul Gohil
* @copyright 2021 Mehul Gohil <hello@mehulgohil.com>
* @license GPL-2.0-or-later
*
* @wordpress-plugin
*
* Plugin Name: MG - Instamojo for Give
* Plugin URI: https://wordpress.org/plugins/instamojo-for-give
* Description: Accept donations via Instamojo payment gateway using GiveWP.
* Version: 1.0.0
* Requires at least: 4.8
* Requires PHP: 5.6
* Tested up to: 6.5
* Requires Plugins: give
* Author: Mehul Gohil
* Author URI: https://mehulgohil.com
* Text Domain: instamojo-for-give
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
namespace MG\Instamojo\GiveWP;
// Bailout, if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
wp_die( 'Cheating Huh?' );
}
// Load Constants.
require_once __DIR__ . '/config/constants.php';
// Automatically loads files used throughout the plugin.
require_once 'vendor/autoload.php';
// Initialize the plugin.
$plugin = new Plugin();
$plugin->register();