File "ActionScheduler_CanceledSchedule.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor/woocommerce/action-scheduler/classes/schedules/ActionScheduler_CanceledSchedule.php
File size: 506 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
if (!defined('ABSPATH')) exit;
class ActionScheduler_CanceledSchedule extends ActionScheduler_SimpleSchedule {
private $timestamp = NULL;
public function calculate_next( DateTime $after ) {
return null;
}
public function get_next( DateTime $after ) {
return null;
}
public function is_recurring() {
return false;
}
public function __wakeup() {
if ( ! is_null( $this->timestamp ) ) {
$this->scheduled_timestamp = $this->timestamp;
unset( $this->timestamp );
}
parent::__wakeup();
}
}