WooCommerce Code Reference

Utilities

Interfaces, Classes and Traits

ArrayUtil
A class of utilities for dealing with arrays.
DiscountsUtil
The DiscountsUtil class provides utilities to assist discounts calculation and validation.
FeaturesUtil
Class with methods that allow to retrieve information about the existing WooCommerce features, also has methods for WooCommerce plugins to declare (in)compatibility with the features.
I18nUtil
A class of utilities for dealing with internationalization.
LoggingUtil
A class of utilities for dealing with logging.
NumberUtil
A class of utilities for dealing with numbers.
OrderUtil
A class of utilities for dealing with orders.
PluginUtil
A class of utilities for dealing with plugins.
RestApiUtil
Utility methods related to the REST API.
StringUtil
A class of utilities for dealing with strings.
TimeUtil
Class with date and time utilities.