PluginProbe
Master Slider – Responsive Touch Slider / 3.11.2
Master Slider – Responsive Touch Slider v3.11.2
trunk 1.0.0 1.0.10 1.0.5 1.2.0 1.2.1 1.2.5 1.3.1 1.3.9 1.4.0 1.4.2 1.4.4 2.0.4 2.1.3 2.4.0 2.4.2 2.5.1 2.6.0 2.6.1 2.6.3 2.6.4 2.7.0 2.7.1 2.8.0 2.9.0 All 84 releases
master-slider / master-slider.php

master-slider.php in Master Slider – Responsive Touch Slider 3.11.2, at master-slider.php

53 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Master Slider WordPress Plugin.
4 *
5 * @package MasterSlider
6 * @author averta [averta.net]
7 * @license LICENSE.txt
8 * @link https://masterslider.com
9 *
10 *
11 * Plugin Name: Master Slider
12 * Plugin URI: https://wordpress.org/plugins/master-slider/
13 * Description: Master Slider is the most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.
14 * Version: 3.11.2
15 * Author: Averta
16 * Author URI: https://masterslider.com
17 * Text Domain: master-slider
18 * License URI: license.txt
19 * Domain Path: /languages
20 * Tested up to: 6.9
21 */
22
23 // If this file is called directly, abort.
24 if ( ! defined( 'WPINC' ) ) {
25 die('No Naughty Business Please !');
26 }
27
28 // Abort loading if WordPress is upgrading
29 if ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) {
30 return;
31 }
32
33 function msp_two_instance_notice() {
34 echo '<div class="error"><p>' . __( 'You are using two instances of MasterSlider plugin at same time, please deactive one of them.', 'master-slider' ) . '</p></div>';
35 }
36
37 // check whether another instance of Master Slider is activated or not
38 if( defined( 'MSWP_AVERTA_VERSION' ) ){
39 add_action( 'admin_notices', 'msp_two_instance_notice' );
40 return;
41 }
42
43 /*----------------------------------------------------------------------------*/
44
45 require_once( plugin_dir_path( __FILE__ ) . 'includes/init/define.php' );
46 require_once( plugin_dir_path( __FILE__ ) . 'public/class-master-slider.php' );
47
48 // Register hooks that are fired when the plugin is activated or deactivated.
49 register_activation_hook ( __FILE__, array( 'Master_Slider', 'activate' ) );
50 register_deactivation_hook( __FILE__, array( 'Master_Slider', 'deactivate' ) );
51
52 /*----------------------------------------------------------------------------*/
53