@@ -13,24 +13,24 @@ |
||
13 | 13 | */ |
14 | 14 | |
15 | 15 | // If this file is called directly, abort. |
16 | -if ( ! defined('WPINC') ) { |
|
16 | +if(!defined('WPINC')){ |
|
17 | 17 | die; |
18 | 18 | } |
19 | 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'); |
|
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 | 24 | |
25 | 25 | /* ======================= Below is the Plugin Class init ========================= */ |
26 | -require_once LSX_SHARING_PATH . '/classes/class-sharing.php'; |
|
26 | +require_once LSX_SHARING_PATH.'/classes/class-sharing.php'; |
|
27 | 27 | /** |
28 | 28 | * Returns and instance of the LSX Sharing plugin. |
29 | 29 | * |
30 | 30 | * @return object \lsx\sharing\Sharing(); |
31 | 31 | */ |
32 | -function lsx_sharing() { |
|
33 | - $lsx_sharing = \lsx\sharing\Sharing::get_instance(); |
|
32 | +function lsx_sharing(){ |
|
33 | + $lsx_sharing=\lsx\sharing\Sharing::get_instance(); |
|
34 | 34 | return $lsx_sharing; |
35 | 35 | } |
36 | 36 | lsx_sharing(); |