-
Notifications
You must be signed in to change notification settings - Fork 2
/
bank-mellat.php
39 lines (37 loc) · 1.14 KB
/
bank-mellat.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
<?php
/**
* Plugin Name: Bank Mellat
* Description: Bank Mellat Online Payment
* Plugin URI: https://dedidata.com
* Author: DediData & Zanyar
* Author URI: https://dedidata.com
* Version: 2.0.0
* Requires at least: 6.0
* Tested up to: 6.4
* Requires PHP: 7.0
* License: GPL v3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: bank-mellat
*
* @package Bank_Mellat
*/
declare(strict_types=1);
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( '\DediData\Plugin_Autoloader' ) ) {
require 'includes/DediData/class-plugin-autoloader.php';
}
// Set name spaces we use in this plugin
new \DediData\Plugin_Autoloader( array( 'DediData', 'BankMellat' ) );
/**
* The function BANK_MELLAT returns an instance of the Bank_Mellat class.
*
* @return object an instance of the \BankMellat\Bank_Mellat_Init class.
* @SuppressWarnings(PHPMD.StaticAccess)
*/
function BANK_MELLAT() { // phpcs:ignore Squiz.Functions.GlobalFunction.Found, WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
return \BankMellat\Bank_Mellat_Init::get_instance( __FILE__ );
}
BANK_MELLAT();
\BankMellat\Bank_Mellat::get_instance();