. * */ if ( ! function_exists( 'action_scheduler_register_2_dot_2_dot_4' ) ) { 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_2_dot_2_dot_4', 0, 0 ); function action_scheduler_register_2_dot_2_dot_4() { $versions = ActionScheduler_Versions::instance(); $versions->register( '2.2.4', 'action_scheduler_initialize_2_dot_2_dot_4' ); } function action_scheduler_initialize_2_dot_2_dot_4() { require_once( 'classes/ActionScheduler.php' ); ActionScheduler::init( __FILE__ ); } }