| Server IP : 104.26.4.103 / Your IP : 216.73.217.51 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-191-generic #201-Ubuntu SMP Fri Aug 7 18:39:04 UTC 2026 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/buzzbitesv3/public_html/wp-content/plugins/woocommerce/src/Enums/ |
Upload File : |
<?php
declare( strict_types = 1 );
namespace Automattic\WooCommerce\Enums;
/**
* Enum class for the possible values of the 'woocommerce_dimension_unit' option.
*
* @since 11.0.0
*/
final class DimensionUnit {
/**
* Meter.
*
* @var string
*/
public const METER = 'm';
/**
* Centimeter.
*
* @var string
*/
public const CENTIMETER = 'cm';
/**
* Millimeter.
*
* @var string
*/
public const MILLIMETER = 'mm';
/**
* Inch.
*
* @var string
*/
public const INCH = 'in';
/**
* Yard.
*
* @var string
*/
public const YARD = 'yd';
/**
* Returns all dimension unit values defined in this class.
*
* @since 11.0.0
*
* @return string[]
*/
public static function get_all(): array {
return array(
self::METER,
self::CENTIMETER,
self::MILLIMETER,
self::INCH,
self::YARD,
);
}
}