ActionScheduler_CronSchedule::__wakeup()
Unserialize cron schedules serialized/stored prior to AS 3.0.0
For more background, @see ActionScheduler_Abstract_RecurringSchedule::__wakeup().
Метод класса: ActionScheduler_CronSchedule{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ActionScheduler_CronSchedule = new ActionScheduler_CronSchedule(); $ActionScheduler_CronSchedule->__wakeup();
Код ActionScheduler_CronSchedule::__wakeup() ActionScheduler CronSchedule:: wakeup WC 9.2.3
public function __wakeup() { if ( is_null( $this->scheduled_timestamp ) && ! is_null( $this->start_timestamp ) ) { $this->scheduled_timestamp = $this->start_timestamp; unset( $this->start_timestamp ); } if ( is_null( $this->recurrence ) && ! is_null( $this->cron ) ) { $this->recurrence = $this->cron; unset( $this->cron ); } parent::__wakeup(); }