DimensionUnit
in package
Enum class for the possible values of the 'woocommerce_dimension_unit' option.
Tags
Table of Contents
- CENTIMETER = 'cm'
- Centimeter.
- INCH = 'in'
- Inch.
- METER = 'm'
- Meter.
- MILLIMETER = 'mm'
- Millimeter.
- YARD = 'yd'
- Yard.
- get_all() : array<string|int, string>
- Returns all dimension unit values defined in this class.
Constants
CENTIMETER
Centimeter.
public
string
CENTIMETER
= 'cm'
INCH
Inch.
public
string
INCH
= 'in'
METER
Meter.
public
string
METER
= 'm'
MILLIMETER
Millimeter.
public
string
MILLIMETER
= 'mm'
YARD
Yard.
public
string
YARD
= 'yd'
Methods
get_all()
Returns all dimension unit values defined in this class.
public
static get_all() : array<string|int, string>
