PluginProbe
Addonify – Quick View For WooCommerce / 1.0.9
Addonify – Quick View For WooCommerce v1.0.9
1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.2 1.2.3 1.2.4 1.2.5 All 44 releases
addonify-quick-view / addonify-quick-view.php

addonify-quick-view.php in Addonify – Quick View For WooCommerce 1.0.9, at addonify-quick-view.php

77 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Addonify WooCommerce Quick View
5 * Plugin URI: https://addonify.com/downloads/woocommerce-quick-view/
6 * Description: Addonify WooCommerce Quick View plugin adds functionality to have a WooCommerce product quick preview on a modal window.
7 * Version: 1.0.9
8 * Author: Addonify
9 * Author URI: https://addonify.com
10 * License: GPL-2.0+
11 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
12 * Text Domain: addonify-quick-view
13 * Domain Path: /languages
14 */
15
16 // If this file is called directly, abort.
17 if ( ! defined( 'WPINC' ) ) {
18 die;
19 }
20
21
22 /**
23 * Currently plugin version.
24 * Start at version 1.0.0 and use SemVer - https://semver.org
25 * Rename this for your plugin and update it as you release new versions.
26 */
27 define( 'ADDONIFY_QUICK_VIEW_VERSION', '1.0.9' );
28 define( 'ADDONIFY_DB_INITIALS', 'addonify_qv_' );
29
30
31 /**
32 * The code that runs during plugin activation.
33 * This action is documented in includes/class-addonify-quick-view-activator.php
34 */
35 function activate_addonify_quick_view() {
36 require_once plugin_dir_path( __FILE__ ) . 'includes/class-addonify-quick-view-activator.php';
37 Addonify_Quick_View_Activator::activate();
38 }
39
40 /**
41 * The code that runs during plugin deactivation.
42 * This action is documented in includes/class-addonify-quick-view-deactivator.php
43 */
44 function deactivate_addonify_quick_view() {
45 require_once plugin_dir_path( __FILE__ ) . 'includes/class-addonify-quick-view-deactivator.php';
46 Addonify_Quick_View_Deactivator::deactivate();
47 }
48
49 register_activation_hook( __FILE__, 'activate_addonify_quick_view' );
50 register_deactivation_hook( __FILE__, 'deactivate_addonify_quick_view' );
51
52 /**
53 * The core plugin class that is used to define internationalization,
54 * admin-specific hooks, and public-facing site hooks.
55 */
56 require plugin_dir_path( __FILE__ ) . 'includes/class-addonify-quick-view.php';
57
58 /**
59 * Begins execution of the plugin.
60 *
61 * Since everything within the plugin is registered via hooks,
62 * then kicking off the plugin from this point in the file does
63 * not affect the page life cycle.
64 *
65 * @since 1.0.0
66 */
67 if ( ! function_exists( 'run_addonify_quick_view' ) ) {
68
69 function run_addonify_quick_view() {
70
71 $plugin = new Addonify_Quick_View();
72 $plugin->run();
73
74 }
75
76 run_addonify_quick_view();
77 }