Issues (575)

lsx-currencies.php (6 issues)

1
<?php
2
/*
0 ignored issues
show
You must use "/**" style comments for a file comment
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.5
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
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
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.5' );
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
Expected 2 blank lines before function; 1 found
Loading history...
34
	return \lsx\currencies\classes\Currencies::init();
35
}
0 ignored issues
show
Expected 2 blank lines after function; 0 found
Loading history...
Expected 1 blank line before closing function brace; 0 found
Loading history...
36
lsx_currencies();
37