DefaultCustomerAddress
in package
Enum class for the possible values of the 'woocommerce_default_customer_address' option.
Tags
Table of Contents
- BASE = 'base'
- Use the shop's base country/region as the default location.
- GEOLOCATION = 'geolocation'
- Geolocate the customer's location.
- GEOLOCATION_AJAX = 'geolocation_ajax'
- Geolocate the customer's location with page caching support (via AJAX).
- NO_DEFAULT = ''
- No default location.
Constants
BASE
Use the shop's base country/region as the default location.
public
string
BASE
= 'base'
GEOLOCATION
Geolocate the customer's location.
public
string
GEOLOCATION
= 'geolocation'
GEOLOCATION_AJAX
Geolocate the customer's location with page caching support (via AJAX).
public
string
GEOLOCATION_AJAX
= 'geolocation_ajax'
NO_DEFAULT
No default location.
public
string
NO_DEFAULT
= ''
