WooCommerce Code Reference

CurrentDateTimeProvider
in package
implements DateTimeProviderInterface

Current DateTime Provider.

Uses the current DateTime.

Interfaces, Classes and Traits

DateTimeProviderInterface
DateTime Provider Interface.

Table of Contents

get_now()  : DateTime
Returns the current DateTime.

Methods