| Server IP : 188.114.96.2 / Your IP : 104.23.243.200 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/nicolasj/www/b2b.ecoledelangues.be/wp-content/plugins/linkedin-master/ |
Upload File : |
<?php
/**
Plugin Name: TechGasp LinkedIn Master
Plugin URI: https://wordpress.techgasp.com/linkedin-master/
Version: 5.0.18
Author: TechGasp
Author URI: https://wordpress.techgasp.com
Text Domain: linkedin-master
Description: LinkedIn 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 : [email protected])
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.0.18' );
define( 'LINKEDIN_MASTER_NAME', 'Linkedin 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( dirname( __FILE__ ) . '/includes/linkedin-master-admin.php');
// HOOK ADMIN Settings
require_once( dirname( __FILE__ ) . '/includes/linkedin-master-admin-settings-wide.php');
// HOOK FRONT SETTINGS WIDE
require_once( dirname( __FILE__ ) . '/includes/linkedin-master-settings-wide.php');
// HOOK ADMIN ADDONS
require_once( dirname( __FILE__ ) . '/includes/linkedin-master-admin-addons.php');
// HOOK WIDGET BUTTONS
require_once( dirname( __FILE__ ) . '/includes/linkedin-master-widget-buttons.php');
// HOOK WIDGET PROFILE MEMBER
require_once( dirname( __FILE__ ) . '/includes/linkedin-master-widget-profile-member.php');