Files
woocommerce-subscriptions/includes/libraries/action-scheduler/action-scheduler.php
Prospress Inc b99eba2f79 2.2.7
2017-06-09 16:36:26 +02:00

30 lines
936 B
PHP

<?php
/*
Plugin Name: Action Scheduler
Plugin URI: https://github.com/prospress/action-scheduler
Description: A robust action scheduler for WordPress
Author: Prospress
Author URI: http://prospress.com/
Version: 1.5.3
*/
if ( ! function_exists( 'action_scheduler_register_1_dot_5_dot_3' ) ) {
if ( ! class_exists( 'ActionScheduler_Versions' ) ) {
require_once( 'classes/ActionScheduler_Versions.php' );
add_action( 'plugins_loaded', array( 'ActionScheduler_Versions', 'initialize_latest_version' ), 1, 0 );
}
add_action( 'plugins_loaded', 'action_scheduler_register_1_dot_5_dot_3', 0, 0 );
function action_scheduler_register_1_dot_5_dot_3() {
$versions = ActionScheduler_Versions::instance();
$versions->register( '1.5.3', 'action_scheduler_initialize_1_dot_5_dot_3' );
}
function action_scheduler_initialize_1_dot_5_dot_3() {
require_once( 'classes/ActionScheduler.php' );
ActionScheduler::init( __FILE__ );
}
}