Issues (924)

lsx-sharing.php (3 issues)

1
<?php
2
/*
3
 * Plugin Name: LSX Sharing
4
 * Plugin URI:  https://www.lsdev.biz/product/lsx-sharing/
5
 * Description: The LSX Sharing extension add social share icons for LSX Theme.
6
 * Version:     1.2.2
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-sharing
12
 * Domain Path: /languages
13
 */
14
15
// If this file is called directly, abort.
16
if ( ! defined('WPINC') ) {
17
    die;
18
}
19
20
define('LSX_SHARING_PATH', plugin_dir_path(__FILE__));
21
define('LSX_SHARING_CORE', __FILE__);
22
define('LSX_SHARING_URL', plugin_dir_url(__FILE__));
23
define('LSX_SHARING_VER', '1.2.1');
24
25
/* ======================= Below is the Plugin Class init ========================= */
26
require_once LSX_SHARING_PATH . '/classes/class-sharing.php';
27
/**
28
 * Returns and instance of the LSX Sharing plugin.
29
 *
30
 * @return object \lsx\sharing\Sharing();
31
 */
32
function lsx_sharing() {
0 ignored issues
show
Expected 2 blank lines before function; 0 found
Loading history...
33
     $lsx_sharing = \lsx\sharing\Sharing::get_instance();
34
    return $lsx_sharing;
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_sharing();
37