lightspeeddevelopment /
lsx-currencies
| 1 | <?php |
||
| 2 | /* |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 3 | * Plugin Name: LSX Currencies |
||
| 4 | * Plugin URI: https://www.lsdev.biz/product/lsx-currencies |
||
| 5 | * 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. |
||
| 6 | * Version: 1.2.4 |
||
| 7 | * Author: LightSpeed |
||
| 8 | * Author URI: https://www.lsdev.biz/ |
||
| 9 | * License: GPL3 |
||
| 10 | * License URI: https://www.gnu.org/licenses/gpl-3.0.html |
||
| 11 | * Text Domain: lsx-currencies |
||
| 12 | * Domain Path: /languages |
||
| 13 | */ |
||
| 14 | |||
| 15 | // If this file is called directly, abort. |
||
| 16 | if ( ! defined( 'WPINC' ) ) { |
||
|
0 ignored issues
–
show
|
|||
| 17 | die; |
||
| 18 | } |
||
| 19 | |||
| 20 | define( 'LSX_CURRENCIES_PATH', plugin_dir_path( __FILE__ ) ); |
||
| 21 | define( 'LSX_CURRENCIES_CORE', __FILE__ ); |
||
| 22 | define( 'LSX_CURRENCIES_URL', plugin_dir_url( __FILE__ ) ); |
||
| 23 | define( 'LSX_CURRENCIES_VER', '1.2.4' ); |
||
| 24 | |||
| 25 | require_once LSX_CURRENCIES_PATH . 'classes/deprecated/class-lsx-currencies.php'; |
||
| 26 | require_once LSX_CURRENCIES_PATH . 'classes/class-currencies.php'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Returns the main instance of the class |
||
| 30 | * |
||
| 31 | * @return object \lsx\currencies\classes\Currencies() |
||
| 32 | */ |
||
| 33 | function lsx_currencies() { |
||
|
0 ignored issues
–
show
|
|||
| 34 | return \lsx\currencies\classes\Currencies::init(); |
||
| 35 | } |
||
|
0 ignored issues
–
show
|
|||
| 36 | lsx_currencies(); |
||
| 37 |