Tribe__Events__Event_Cleaner_Scheduler::__construct( mixed $move_to_trash = null, mixed $permanently_delete = null )

Receives the existing values for $key_trash_events and $key_delete_events options and defines them as trash_new_date and del_new_date variables.


Parameters

$move_to_trash

(mixed) (Optional)

Default value: null

$permanently_delete

(mixed) (Optional)

Default value: null


Top ↑

Source

File: src/Tribe/Event_Cleaner_Scheduler.php

	public function __construct( $move_to_trash = null, $permanently_delete = null ) {
		$this->trash_new_date = $move_to_trash;
		$this->del_new_date   = $permanently_delete;
	}

Top ↑

Changelog

Changelog
Version Description
4.6.13 Introduced.