-
Notifications
You must be signed in to change notification settings - Fork 2
/
dfm-transients.php
31 lines (27 loc) · 1.11 KB
/
dfm-transients.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
<?php
/**
* Plugin Name: Transient Control
* Plugin URI: https://github.com/dfmedia/DFM-Transients
* Description: Better control for transients
* Version: 1.3.1
* Author: Ryan Kanner, Digital First Media
* License: GPL-3
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-dfm-transient-utils.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-dfm-async-nonce.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-dfm-async-handler.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-dfm-transient-hook.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-dfm-transient-scheduler.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/class-dfm-transients.php' );
require_once( plugin_dir_path( __FILE__ ) . 'includes/template-tags.php' );
// Admin only files
if ( is_admin() ) {
require_once( plugin_dir_path( __FILE__ ) . 'includes/admin/class-dfm-transient-admin.php' );
}
// CLI Commands
if ( defined( 'WP_CLI' ) && true === WP_CLI ) {
require_once( plugin_dir_path( __FILE__ ) . 'includes/cli.php' );
}