Inventory_Presser_Business_Day::open_later_today()

open_later_today


Description

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


Return

(bool)


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;
	}