Sindbad~EG File Manager
<?php
/**
Plugin Name: TechGasp Link Master
Plugin URI: https://wordpress.techgasp.com/linkedin-master/
Version: 5.1.4
Author: TechGasp
Author URI: https://wordpress.techgasp.com
Text Domain: linkedin-master
Description: TechGasp Link Master, if you are serious about your linkedin connections and want to integrate your personal or company linkedin page into your wordpress.
License: GPL2 or later
*/
/* Copyright 2013 TechGasp (email : info@techgasp.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
if(!class_exists('linkedin_master')) :
///////DEFINE///////
define( 'LINKEDIN_MASTER_VERSION', '5.1.4' );
define( 'LINKEDIN_MASTER_NAME', 'TechGasp Link Master' );
class linkedin_master{
public static function content_with_quote($content){
$quote = '<p>' . get_option('tsm_quote') . '</p>';
return $content . $quote;
}
//SETTINGS LINK IN PLUGIN MANAGER
public static function linkedin_master_links( $links, $file ) {
if ( $file == plugin_basename( dirname(__FILE__).'/linkedin-master.php' ) ) {
if( is_network_admin() ){
$techgasp_plugin_url = network_admin_url( 'admin.php?page=linkedin-master' );
}
else {
$techgasp_plugin_url = admin_url( 'admin.php?page=linkedin-master' );
}
$links[] = '<a href="' . $techgasp_plugin_url . '">'.__( 'Settings' ).'</a>';
}
return $links;
}
//END CLASS
}
add_filter('the_content', array('linkedin_master', 'content_with_quote'));
add_filter( 'plugin_action_links', array('linkedin_master', 'linkedin_master_links'), 10, 2 );
endif;
// HOOK ADMIN
require_once( WP_PLUGIN_DIR . '/linkedin-master/includes/linkedin-master-admin.php');
// HOOK ADMIN Settings
require_once( WP_PLUGIN_DIR . '/linkedin-master/includes/linkedin-master-admin-settings-wide.php');
// HOOK FRONT SETTINGS WIDE
require_once( WP_PLUGIN_DIR . '/linkedin-master/includes/linkedin-master-settings-wide.php');
// HOOK ADMIN ADDONS
require_once( WP_PLUGIN_DIR . '/linkedin-master/includes/linkedin-master-admin-addons.php');
// HOOK WIDGET BUTTONS
require_once( WP_PLUGIN_DIR . '/linkedin-master/includes/linkedin-master-widget-buttons.php');
// HOOK WIDGET PROFILE MEMBER
require_once( WP_PLUGIN_DIR . '/linkedin-master/includes/linkedin-master-widget-profile-member.php');
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists