Current File : /home/kelaby89/iluxelectrical.com.au/wp-content/plugins/strnix-core/strnix-core.php
<?php
/*
Plugin Name: Strnix core
Plugin URI: http://smartdatasoft.com/
Description: Helping for the SmartDataSoft theme.
Version: 1.5
Author: SmartDataSoft
Author URI: http://smartdatasoft.com/
License: GPLv2 or later
Text Domain: strnix-core
Domain Path: /languages/
*/

/**
 * Load plugin textdomain.
 *
 * @since 1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
define( 'STRNIX_PLUGIN_DIR', dirname( __FILE__ ) . '/' );

if ( ! defined( 'STRNIX_CORE_PLUGIN_URI' ) ) {
	define( 'STRNIX_CORE_PLUGIN_URI', plugin_dir_url( __FILE__ ) );
}
require_once STRNIX_PLUGIN_DIR . 'meta-box/config-meta-box.php';
require_once STRNIX_PLUGIN_DIR . 'elementor-addons/strnix-addons.php';

// add support link to the WP Toolbar
function strnix_core_toolbar_link($wp_admin_bar) {
    $args = array(
        'id' => 'support_link',
        'title' => esc_html__('Theme Support & Documentation links','strnix-core'), 
        'href' => home_url() . '/wp-admin/admin.php?page=envato-theme-license-support', 
        'meta' => array(
            'class' => 'sp_link', 
            'title' => esc_html__('Support','strnix-core')
            )
    );
    $wp_admin_bar->add_node($args);
}
add_action('admin_bar_menu', 'strnix_core_toolbar_link', 999);
Page not found – Hello World !