Inventory_Presser_Business_Day::open_later_today()

open_later_today

Description Description

Is the business open later today even though it's closed now?


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/class-business-day.php

	public function open_later_today() {
		$now             = $this->current_datetime();
		$today_open_date = $this->current_datetime();
		$today_open_date->setTime( $this->open_hour, $this->open_minute, 0 );
		return null != $today_open_date && $now < $today_open_date;
	}