-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmint-ab-testing.php
56 lines (46 loc) · 1.2 KB
/
mint-ab-testing.php
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/*
Plugin Name: Mint A/B Theme Testing for WordPress
Plugin URI: https://github.com/mintindeed/mint-ab-theme-testing-for-wordpress
Description: Generates a A/B Testing on the fly.
Version: 0.9.0.8
Author: Gabriel Koen
Author URI: http://gabrielkoen.com/
License: GPLv2
*/
include_once __DIR__ . '/class-mint-ab-testing-options.php';
add_action( 'plugins_loaded', 'mint_ab_testing_options_loader', 10 );
include_once __DIR__ . '/class-mint-ab-testing.php';
add_action( 'plugins_loaded', 'mint_ab_testing_loader', 11 );
include_once __DIR__ . '/class-mint-ab-testing-admin.php';
add_action( 'plugins_loaded', 'mint_ab_testing_admin_loader', 11 );
/**
* For loading Mint_AB_Testing via WordPress action
*
* @since 0.9.0.0
* @version 0.9.0.8
*/
function mint_ab_testing_loader() {
new Mint_AB_Testing();
}
/**
* For loading Mint_AB_Testing_Admin via WordPress action
*
* @since 0.9.0.3
* @version 0.9.0.6
*/
function mint_ab_testing_admin_loader() {
if ( is_admin() ) {
new Mint_AB_Testing_Admin();
}
}
/**
* For loading Mint_AB_Testing_Options via WordPress action
*
* @since 0.9.0.0
* @version 0.9.0.6
*/
function mint_ab_testing_options_loader() {
Mint_AB_Testing_Options::instance();
}
// EOF