-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlsx-currencies.php
36 lines (32 loc) · 1.13 KB
/
lsx-currencies.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
<?php
/*
* Plugin Name: LSX Currencies
* Plugin URI: https://www.lsdev.biz/product/lsx-currencies
* Description: The LSX Currencies extension adds currency selection functionality to sites, allowing users to view your products in whatever currencies you choose to sell in.
* Version: 1.2.7
* Author: LightSpeed
* Author URI: https://www.lsdev.biz/
* License: GPL3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: lsx-currencies
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'LSX_CURRENCIES_PATH', plugin_dir_path( __FILE__ ) );
define( 'LSX_CURRENCIES_CORE', __FILE__ );
define( 'LSX_CURRENCIES_URL', plugin_dir_url( __FILE__ ) );
define( 'LSX_CURRENCIES_VER', '1.2.7' );
require_once LSX_CURRENCIES_PATH . 'classes/deprecated/class-lsx-currencies.php';
require_once LSX_CURRENCIES_PATH . 'classes/class-currencies.php';
/**
* Returns the main instance of the class
*
* @return object \lsx\currencies\classes\Currencies()
*/
function lsx_currencies() {
return \lsx\currencies\classes\Currencies::init();
}
lsx_currencies();