PluginProbe
GTM Kit – Google Tag Manager & GA4 integration / 2.15.0
GTM Kit – Google Tag Manager & GA4 integration v2.15.0
2.18.1 2.18.0 2.17.0 2.16.4 2.16.3 2.16.0 2.16.1 2.15.0 2.14.1 2.14.0 2.13.0 2.13.1 2.12.0 2.11.0 2.10.0 2.9.0 trunk 1.0 1.1 1.1.1 1.10 1.11 1.11.1 1.12 1.12.1 All 100 releases
gtm-kit / gtm-kit.php

gtm-kit.php in GTM Kit – Google Tag Manager & GA4 integration 2.15.0, at gtm-kit.php

54 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * GTM Kit Plugin
4 *
5 * Plugin Name: GTM Kit
6 * Version: 2.15.0
7 * Plugin URI: https://gtmkit.com/
8 * Description: Google Tag Manager implementation focusing on flexibility and pagespeed.
9 * Author: GTM Kit
10 * Author URI: https://gtmkit.com/
11 * Text Domain: gtm-kit
12 * Domain Path: /languages/
13 * License: GPLv3
14 * Requires at least: 6.8
15 * Requires PHP: 7.4
16 *
17 * WC requires at least: 10.3
18 * WC tested up to: 10.8.1
19 *
20 * @package GTM Kit
21 * @copyright Copyright (C) 2021-2026, GTM Kit ApS
22 */
23
24 if ( ! function_exists( 'add_filter' ) ) {
25 header( 'Status: 403 Forbidden' );
26 header( 'HTTP/1.1 403 Forbidden' );
27 exit();
28 }
29
30 const GTMKIT_VERSION = '2.15.0';
31
32 if ( ! defined( 'GTMKIT_FILE' ) ) {
33 define( 'GTMKIT_FILE', __FILE__ );
34 }
35
36 if ( ! defined( 'GTMKIT_PATH' ) ) {
37 define( 'GTMKIT_PATH', plugin_dir_path( GTMKIT_FILE ) );
38 }
39
40 if ( ! defined( 'GTMKIT_BASENAME' ) ) {
41 define( 'GTMKIT_BASENAME', plugin_basename( GTMKIT_FILE ) );
42 }
43
44 if ( ! defined( 'GTMKIT_URL' ) ) {
45 define( 'GTMKIT_URL', plugin_dir_url( __FILE__ ) );
46 }
47
48 if ( ! defined( 'GTMKIT_ADMIN_SLUG' ) ) {
49 define( 'GTMKIT_ADMIN_SLUG', 'gtmkit_' );
50 }
51
52 // Load the WordPress Google Tag Manager Kit plugin.
53 require_once dirname( GTMKIT_FILE ) . '/inc/main.php';
54