-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdco-insert-analytics-code.php
More file actions
31 lines (28 loc) · 913 Bytes
/
dco-insert-analytics-code.php
File metadata and controls
31 lines (28 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* DCO Insert Analytics Code
*
* @package DCO_Insert_Analytics_Code
* @author Denis Yanchevskiy
* @copyright 2016-2018
* @license GPLv2+
*
* @since 1.0.0
*
* Plugin Name: DCO Insert Analytics Code
* Description: Allows you to insert analytics code before </head> or after <body> or before </body>
* Version: 1.1.3
* Author: Denis Yanchevskiy
* Author URI: http://denisco.pro
* License: GPLv2 or later
* Text Domain: dco-insert-analytics-code
*/
defined( 'ABSPATH' ) || die;
define( 'DCO_IAC__PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'DCO_IAC__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'DCO_IAC__PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
require_once DCO_IAC__PLUGIN_DIR . 'class-dco-iac-base.php';
require_once DCO_IAC__PLUGIN_DIR . 'class-dco-iac.php';
if ( is_admin() ) {
require_once DCO_IAC__PLUGIN_DIR . 'class-dco-iac-admin.php';
}