PluginProbe
WooCommerce / 11.1.0
WooCommerce v11.1.0
11.1.0 11.1.0-rc.2 11.1.0-rc.1 11.1.0-beta.2 11.1.0-beta.1 11.0.1 11.0.0 11.0.0-rc.3 11.0.0-rc.2 11.0.0-rc.1 11.0.0-beta.2 11.0.0-beta.1 10.9.4 10.9.3 10.9.2 10.9.1 10.9.0 10.9.0-rc.1 10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 All 648 releases
woocommerce / src / Enums / DefaultCustomerAddress.php
DefaultCustomerAddress.php
41 lines 720 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 declare( strict_types = 1 );
4
5 namespace Automattic\WooCommerce\Enums;
6
7 /**
8 * Enum class for the possible values of the 'woocommerce_default_customer_address' option.
9 *
10 * @since 10.8.0
11 */
12 final class DefaultCustomerAddress {
13 /**
14 * No default location.
15 *
16 * @var string
17 */
18 public const NO_DEFAULT = '';
19
20 /**
21 * Use the shop's base country/region as the default location.
22 *
23 * @var string
24 */
25 public const BASE = 'base';
26
27 /**
28 * Geolocate the customer's location.
29 *
30 * @var string
31 */
32 public const GEOLOCATION = 'geolocation';
33
34 /**
35 * Geolocate the customer's location with page caching support (via AJAX).
36 *
37 * @var string
38 */
39 public const GEOLOCATION_AJAX = 'geolocation_ajax';
40 }
41