WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_RecurringSchedule::__sleep() public WC 1.0

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

{} It's a method of the class: ActionScheduler_Abstract_RecurringSchedule{}

No Hooks.

Return

Array.

Usage

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

Code of ActionScheduler_Abstract_RecurringSchedule::__sleep() WC 6.1.0

public function __sleep() {
	$sleep_params = parent::__sleep();
	$this->first_timestamp = $this->first_date->getTimestamp();
	return array_merge( $sleep_params, array(
		'first_timestamp',
		'recurrence'
	) );
}