Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Inventory_Presser_Business_Day::current_datetime()
Use WordPress current_time() to create a DateTime object
Return Return
(void)
Source Source
File: includes/class-business-day.php
private function current_datetime() { return new DateTime( gmdate( DATE_RFC2822, current_time( 'timestamp' ) ) ); }
Expand full source codeCollapse full source codeView on Github