👁 查看:DefaultCustomerAddress.php
路径:/home/forge/kingkrunch.com/wp/wp-content/plugins/woocommerce/src/Enums/DefaultCustomerAddress.php
大小:720 B · 修改:2026-07-15 13:50:33 · 权限:0644 · 可写
<?php
declare( strict_types = 1 );
namespace Automattic\WooCommerce\Enums;
/**
* Enum class for the possible values of the 'woocommerce_default_customer_address' option.
*
* @since 10.8.0
*/
final class DefaultCustomerAddress {
/**
* No default location.
*
* @var string
*/
public const NO_DEFAULT = '';
/**
* Use the shop's base country/region as the default location.
*
* @var string
*/
public const BASE = 'base';
/**
* Geolocate the customer's location.
*
* @var string
*/
public const GEOLOCATION = 'geolocation';
/**
* Geolocate the customer's location with page caching support (via AJAX).
*
* @var string
*/
public const GEOLOCATION_AJAX = 'geolocation_ajax';
}