WordPress at Your Fingertips
function is not described

ActionScheduler_DBStore::get_date() public WC 1.0

Get the schedule date for an action.

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

No Hooks.


\DateTime. The local date the action is scheduled to run, or the date that it ran.


$ActionScheduler_DBStore = new ActionScheduler_DBStore();
$ActionScheduler_DBStore->get_date( $action_id );
$action_id(string) (required)
Action ID.

Code of ActionScheduler_DBStore::get_date() WC 6.1.1

public function get_date( $action_id ) {
	$date = $this->get_date_gmt( $action_id );
	ActionScheduler_TimezoneHelper::set_local_timezone( $date );
	return $date;