for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* Plugin Name: LSX Sharing
* Plugin URI: https://www.lsdev.biz/product/lsx-sharing/
* Description: The LSX Sharing extension add social share icons for LSX Theme.
* Version: 1.2.0
* Author: LightSpeed
* Author URI: https://www.lsdev.biz/
* License: GPL3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: lsx-sharing
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'LSX_SHARING_PATH', plugin_dir_path( __FILE__ ) );
plugin_dir_path
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
define( 'LSX_SHARING_PATH', /** @scrutinizer ignore-call */ plugin_dir_path( __FILE__ ) );
define( 'LSX_SHARING_CORE', __FILE__ );
define( 'LSX_SHARING_URL', plugin_dir_url( __FILE__ ) );
plugin_dir_url
define( 'LSX_SHARING_URL', /** @scrutinizer ignore-call */ plugin_dir_url( __FILE__ ) );
define( 'LSX_SHARING_VER', '1.2.0' );
/* ======================= Below is the Plugin Class init ========================= */
require_once LSX_SHARING_PATH . '/classes/class-sharing.php';
/**
* Returns and instance of the LSX Sharing plugin.
*
* @return object \lsx\sharing\Sharing();
function lsx_sharing() {
$lsx_sharing = \lsx\sharing\Sharing::get_instance();
return $lsx_sharing;
lsx_sharing();