ActionScheduler_Abstract_Schedule::__sleep()publicWC 1.0

For PHP 5.2 compat, since DateTime objects can't be serialized

{} Это метод класса: ActionScheduler_Abstract_Schedule{}

Хуков нет.

Возвращает

Массив.

Использование

$ActionScheduler_Abstract_Schedule = new ActionScheduler_Abstract_Schedule();
$ActionScheduler_Abstract_Schedule->__sleep();

Код ActionScheduler_Abstract_Schedule::__sleep() WC 6.9.4

public function __sleep() {
	$this->scheduled_timestamp = $this->scheduled_date->getTimestamp();
	return array(
		'scheduled_timestamp',
	);
}