HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux Droplet-NYC1-3 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: www-data (33)
PHP: 7.4.3-4ubuntu2.29
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/apwire.net/wp-content/plugins/b-social-share/plugin.php
<?php
/**
 * Plugin Name: B Social Share - Block
 * Description: Share your website/website-page link to social networks and mobile messengers
 * Version: 1.0.6
 * Author: bPlugins
 * Author URI: https://bplugins.com
 * License: GPLv3
 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
 * Text Domain: social-share
 */

// ABS PATH
if ( !defined( 'ABSPATH' ) ) { exit; }

// Constant
define( 'BSSB_PLUGIN_VERSION', isset( $_SERVER['HTTP_HOST'] ) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '1.0.6' );
define( 'BSSB_DIR_PATH', plugin_dir_path( __FILE__ ) );
define( 'BSSB_DIR_URL', plugin_dir_url( __FILE__ ) );

if( !class_exists( 'BSSBSocialShare' ) ){
	class BSSBSocialShare{
		function __construct(){
			add_action( 'enqueue_block_assets', [$this, 'enqueueBlockAssets'] );
			add_action( 'init', [$this, 'onInit'] );
		}

		function enqueueBlockAssets(){
			wp_register_style( 'fontAwesome', BSSB_DIR_URL . 'assets/css/font-awesome.min.css', [], '6.4.2' );
			wp_register_script( 'goodshare', BSSB_DIR_URL . 'assets/js/goodshare.min.js', [], BSSB_PLUGIN_VERSION, true );
		}

		function onInit() {
			register_block_type_from_metadata( __DIR__ . '/inc' );

			wp_set_script_translations( 'bssb-social-share-editor-script', 'social-share', BSSB_DIR_PATH . 'languages' );
		}
	}
	new BSSBSocialShare;
}