Inventory_Presser_Business_Day::open_later_today()
open_later_today
Contents
Description Description
Is the business open later today even though it's closed now?
Return Return
(bool)
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; }
Expand full source code Collapse full source code View on Github