lightspeeddevelopment /
lsx-sharing
| 1 | <?php |
||
| 2 | /* |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 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.0 |
||
| 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') ) { |
||
|
0 ignored issues
–
show
|
|||
| 17 | die; |
||
| 18 | } |
||
| 19 | |||
| 20 | define('LSX_SHARING_PATH', plugin_dir_path(__FILE__)); |
||
|
0 ignored issues
–
show
|
|||
| 21 | define('LSX_SHARING_CORE', __FILE__); |
||
|
0 ignored issues
–
show
|
|||
| 22 | define('LSX_SHARING_URL', plugin_dir_url(__FILE__)); |
||
|
0 ignored issues
–
show
|
|||
| 23 | define('LSX_SHARING_VER', '1.2.0'); |
||
|
0 ignored issues
–
show
|
|||
| 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
|
|||
| 33 | $lsx_sharing = \lsx\sharing\Sharing::get_instance(); |
||
|
0 ignored issues
–
show
|
|||
| 34 | return $lsx_sharing; |
||
| 35 | } |
||
|
0 ignored issues
–
show
|
|||
| 36 | lsx_sharing(); |
||
| 37 |