forked from humanmade/Cavalcade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.php
27 lines (22 loc) · 764 Bytes
/
plugin.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
<?php
/**
* Plugin Name: Cavalcade
* Plugin URI: https://github.com/humanmade/Cavalcade
* Description: A better wp-cron. Horizontally scalable, works perfectly with multisite.
* Author: Human Made
* Author URI: https://hmn.md/
* Version: 2.0.0
* License: GPLv2 or later
*/
namespace HM\Cavalcade\Plugin;
const DATE_FORMAT = 'Y-m-d H:i:s';
const DATABASE_VERSION = 4;
require __DIR__ . '/inc/namespace.php';
require __DIR__ . '/inc/class-job.php';
require __DIR__ . '/inc/connector/namespace.php';
require __DIR__ . '/inc/upgrade/namespace.php';
bootstrap();
// Register cache groups as early as possible, as some plugins may use cron functions before plugins_loaded
if ( function_exists( 'wp_cache_add_global_groups' ) ) {
register_cache_groups();
}