PluginProbe
WooSwipe WooCommerce Gallery / trunk
WooSwipe WooCommerce Gallery vtrunk
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 trunk, at wooswipe.php

91 lines 2.6 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: WooCommerce product gallery built with PhotoSwipe and Slick carousel. Responsive, touch-friendly, with lightbox and optional main-image slider.
19 * Version: 3.0.12
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 * Requires at least: 6.0
27 * Requires PHP: 7.4
28 * WC requires at least: 7.0
29 * WC tested up to: 11.0
30 * Requires Plugins: woocommerce
31 */
32
33 // If this file is called directly, abort.
34 if ( ! defined( 'WPINC' ) ) {
35 die;
36 }
37
38 /**
39 * Current plugin version (SemVer).
40 *
41 * Keep in sync with the Version header above and readme.txt Stable tag.
42 *
43 * @since 1.0.0
44 */
45 define( 'WOOSWIPE_VERSION', '3.0.12' );
46
47 /**
48 * The code that runs during plugin activation.
49 * This action is documented in includes/class-wooswipe-activator.php
50 */
51 function activate_wooswipe() {
52 require_once plugin_dir_path( __FILE__ ) . 'includes/class-wooswipe.php';
53 require_once plugin_dir_path( __FILE__ ) . 'includes/class-wooswipe-activator.php';
54 Wooswipe_Activator::activate();
55 }
56
57 /**
58 * The code that runs during plugin deactivation.
59 * This action is documented in includes/class-wooswipe-deactivator.php
60 */
61 function deactivate_wooswipe() {
62 require_once plugin_dir_path( __FILE__ ) . 'includes/class-wooswipe-deactivator.php';
63 Wooswipe_Deactivator::deactivate();
64 }
65
66 register_activation_hook( __FILE__, 'activate_wooswipe' );
67 register_deactivation_hook( __FILE__, 'deactivate_wooswipe' );
68
69 /**
70 * The core plugin class that is used to define internationalization,
71 * admin-specific hooks, and public-facing site hooks.
72 */
73 require plugin_dir_path( __FILE__ ) . 'includes/class-wooswipe.php';
74
75 /**
76 * Begins execution of the plugin.
77 *
78 * Since everything within the plugin is registered via hooks,
79 * then kicking off the plugin from this point in the file does
80 * not affect the page life cycle.
81 *
82 * @since 1.0.0
83 */
84 function run_wooswipe() {
85
86 $plugin = new Wooswipe();
87 $plugin->run();
88
89 }
90 run_wooswipe();
91