PluginProbe
Tagging / 1.1.18
Tagging v1.1.18
2.3.7 2.3.6 trunk 1.0.0 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 1.1.20 1.1.21 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 All 54 releases
tagging / tagging.php

tagging.php in Tagging 1.1.18, at tagging.php

79 lines 3.1 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://trytagging.com
12 * @since 1.0.0
13 * @package Tagging
14 *
15 * @wordpress-plugin
16 * Plugin Name: Tagging
17 * Plugin URI: https://trytagging.com
18 * Description: Tagging is a simple to use solution for setting up Google Tag Manager Server Side.
19 * Version: 1.1.18
20 * Author: AdPage
21 * License: GPL-2.0+
22 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
23 */
24
25 if (!defined('ABSPATH')) exit; // Exit if accessed directly
26
27 /**
28 * Currently plugin version.
29 * Start at version 1.0.0 and use SemVer - https://semver.org
30 * Rename this for your plugin and update it as you release new versions.
31 */
32 define('GTM_TRYTAGGING_PATH', plugin_dir_path(__FILE__));
33 define('GTM_TRYTAGGING_PATH_URL', plugin_dir_url(__FILE__));
34 define('TAGGING_VERSION', '1.1.18');
35 define('TAGGING_SETTINGS', 'tagging_settings');
36 define('TAGGING_SETTINGS_GROUP', 'tagging_settings_group');
37 define('TAGGING_SETTINGS_URL', 'tagging_settings_url');
38 define('TAGGING_SETTINGS_WEB_GTM_ID', 'tagging_settings_web_gtm_id');
39 define('TAGGING_SETTINGS_LOADER_ID', 'tagging_settings_loader_id');
40 define('TAGGING_SETTINGS_DEBUG', 'tagging_settings_debug');
41 define('TAGGING_SETTINGS_GENERAL_SECTION', 'tagging_settings_general_section');
42
43 require plugin_dir_path(__FILE__) . 'includes/class-tagging-log.php';
44 require plugin_dir_path(__FILE__) . 'includes/class-tagging-admin.php';
45 require plugin_dir_path(__FILE__) . 'includes/class-tagging-frontend.php';
46 require plugin_dir_path(__FILE__) . 'includes/class-tagging-wc-utils.php';
47 require plugin_dir_path(__FILE__) . 'includes/class-tagging-wc-webhook.php';
48 require plugin_dir_path(__FILE__) . 'includes/class-tagging-wc-session.php';
49 require plugin_dir_path(__FILE__) . 'includes/class-tagging-event-viewcart.php';
50 require plugin_dir_path(__FILE__) . 'includes/class-tagging-event-addtocart.php';
51 require plugin_dir_path(__FILE__) . 'includes/class-tagging-event-viewitem.php';
52 require plugin_dir_path(__FILE__) . 'includes/class-tagging-event-begincheckout.php';
53 require plugin_dir_path(__FILE__) . 'includes/class-tagging-event-purchase.php';
54 require plugin_dir_path(__FILE__) . 'includes/class-tagging-event-viewitemlist.php';
55 require plugin_dir_path(__FILE__) . 'includes/class-tagging-event-removefromcart.php';
56 require plugin_dir_path(__FILE__) . 'includes/class-tagging-gravity-forms.php';
57
58 function run_tagging()
59 {
60 new Tagging_WC_Webhook();
61 new Tagging_WC_Session();
62 new Tagging_Event_ViewCart();
63 new Tagging_Event_AddToCart();
64 new Tagging_Event_ViewItem();
65 new Tagging_Event_BeginCheckout();
66 new Tagging_Event_Purchase();
67 new Tagging_Event_ViewItemlist();
68 new Tagging_Event_RemoveFromCart();
69 new Tagging_Gravity_Forms();
70
71 if (is_admin()) {
72 new Tagging_Admin();
73 } else {
74 new Tagging_Frontend();
75 }
76 }
77
78 add_action('plugins_loaded', 'run_tagging');
79