PluginProbe
WooSwipe WooCommerce Gallery / 3.0.5
WooSwipe WooCommerce Gallery v3.0.5
3.0.11 3.0.12 trunk 1.1.10 1.1.11 1.1.12 1.1.13 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.6.1 1.1.6.2 1.1.6.3 1.1.6.4 1.1.6.5 1.1.6.6 1.1.6.7 1.1.6.8 1.1.7.0 1.1.8.0 1.1.8.10 1.1.8.11 All 41 releases
wooswipe / wooswipe.php

wooswipe.php in WooSwipe WooCommerce Gallery 3.0.5, at wooswipe.php

83 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The plugin bootstrap file
5 *
6 * This file is read by WordPress to generate the plugin information in the plugin
7 * admin area. This file also includes all of the dependencies used by the plugin,
8 * registers the activation and deactivation functions, and defines a function
9 * that starts the plugin.
10 *
11 * @link https://thriveweb.com.au/
12 * @since 1.0.0
13 * @package Wooswipe
14 *
15 * @wordpress-plugin
16 * Plugin Name: WooSwipe
17 * Plugin URI: https://thriveweb.com.au/the-lab/wooswipe/
18 * Description: This is a image gallery plugin for WordPress built using <a href="http://photoswipe.com.au/">photoswipe</a> from Dmitry Semenov and <a href="http://kenwheeler.github.io/slick/">Slick</a> Carousel</a>.
19 * Version: 3.0.5
20 * Author: Thrive Website Design
21 * Author URI: https://thriveweb.com.au/
22 * License: GPL-2.0+
23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
24 * Text Domain: wooswipe
25 * Domain Path: /languages
26 */
27
28 // If this file is called directly, abort.
29 if ( ! defined( 'WPINC' ) ) {
30 die;
31 }
32
33 /**
34 * Currently plugin version.
35 * Start at version 1.0.0 and use SemVer - https://semver.org
36 * Rename this for your plugin and update it as you release new versions.
37 */
38 define( 'WOOSWIPE_VERSION', '3.0.1' );
39
40 /**
41 * The code that runs during plugin activation.
42 * This action is documented in includes/class-wooswipe-activator.php
43 */
44 function activate_wooswipe() {
45 require_once plugin_dir_path( __FILE__ ) . 'includes/class-wooswipe-activator.php';
46 Wooswipe_Activator::activate();
47 }
48
49 /**
50 * The code that runs during plugin deactivation.
51 * This action is documented in includes/class-wooswipe-deactivator.php
52 */
53 function deactivate_wooswipe() {
54 require_once plugin_dir_path( __FILE__ ) . 'includes/class-wooswipe-deactivator.php';
55 Wooswipe_Deactivator::deactivate();
56 }
57
58 register_activation_hook( __FILE__, 'activate_wooswipe' );
59 register_deactivation_hook( __FILE__, 'deactivate_wooswipe' );
60
61 /**
62 * The core plugin class that is used to define internationalization,
63 * admin-specific hooks, and public-facing site hooks.
64 */
65 require plugin_dir_path( __FILE__ ) . 'includes/class-wooswipe.php';
66
67 /**
68 * Begins execution of the plugin.
69 *
70 * Since everything within the plugin is registered via hooks,
71 * then kicking off the plugin from this point in the file does
72 * not affect the page life cycle.
73 *
74 * @since 1.0.0
75 */
76 function run_wooswipe() {
77
78 $plugin = new Wooswipe();
79 $plugin->run();
80
81 }
82 run_wooswipe();
83