| Server IP : 77.39.210.126 / Your IP : 216.73.216.203 Web Server : Apache System : Linux v00l0v-vmpcnews.sphostserver.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64 User : artecasarepresti ( 1022) PHP Version : 7.4.33 Disable Function : dl,passthru,proc_open,proc_close,proc_terminate,shell_exec,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/artecasarepresti/public_html/wp-content/plugins/popups/ |
Upload File : |
<?php
/**
* Popups
*
* @package socialpopup
* @author Damian Logghe <info@timersys.com>
* @license GPL-2.0+
* @link http://www.timersys.com/plugins-wordpress/social-popup/
* @copyright 2014 Damian Logghe
*
* @socialpopup
* Plugin Name: Popups - WordPress Popup
* Plugin URI: http://www.timersys.com/free-plugins/social-popup/
* Version: 1.9.3.8
* Description: Most complete free Popups plugin, scroll triggered popups, compatible with social networks, Gravity Forms, Ninja Forms, Contact form 7, Mailpoet, Mailchimp for WP, Postmatic, etc
* Author: timersys
* Author URI: https://timersys.com
* Text Domain: popups
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/*----------------------------------------------------------------------------*
* Public-Facing Functionality
*----------------------------------------------------------------------------*/
define( 'SPU_VERSION' , '1.9.3.8' );
define( 'SPU_PLUGIN_DIR' , plugin_dir_path(__FILE__) );
define( 'SPU_PLUGIN_URL' , plugin_dir_url(__FILE__) );
define( 'SPU_PLUGIN_HOOK' , basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
require_once( SPU_PLUGIN_DIR . 'admin/includes/class-spu-upgrader.php' );
require_once( SPU_PLUGIN_DIR . 'public/class-social-popup.php' );
// Include Helper class
require_once( SPU_PLUGIN_DIR . 'includes/class-spu-helper.php' );
// Dependencies
require_once( SPU_PLUGIN_DIR . 'vendor/autoload.php' );
/*
* Register hooks that are fired when the plugin is activated or deactivated.
* When the plugin is deleted, the uninstall.php file is loaded.
*/
register_activation_hook( __FILE__, array( 'SocialPopup', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'SocialPopup', 'deactivate' ) );
/*
* @TODO:
*
* - replace SocialPopup with the name of the class defined in
* `class-plugin-name.php`
*/
add_action( 'plugins_loaded', array( 'SocialPopup', 'get_instance' ) );
/*----------------------------------------------------------------------------*
* Dashboard and Administrative Functionality
*----------------------------------------------------------------------------*/
if ( is_admin() ) {
require_once( plugin_dir_path( __FILE__ ) . 'admin/class-social-popup-admin.php' );
require_once( plugin_dir_path( __FILE__ ) . 'admin/includes/class-spu-notices.php' );
require_once( plugin_dir_path( __FILE__ ) . 'admin/includes/class-welcome.php' );
$spu_notices = new SocialPopup_Notices();
add_action( 'plugins_loaded', array( 'SocialPopup_Admin', 'get_instance' ) );
if( get_option('spu_plugin_updated') && !get_option('spu_rate_plugin') )
add_action( 'admin_notices', array( $spu_notices, 'rate_plugin') );
if( get_option('spu_pair_plugins') && !get_option('spu_pair_plugins_dismiss') )
add_action( 'admin_notices', array( 'SocialPopup_Notices', 'pair_plugins') );
}