at path:
ROOT
/
wp-content
/
plugins
/
woocommerce
/
i18n
/
units.php
run:
R
W
Run
languages
DIR
2026-04-15 05:42:42
R
W
Run
continents.php
3.04 KB
2026-04-15 05:42:42
R
W
Run
Delete
Rename
countries.php
11.18 KB
2026-04-15 05:42:42
R
W
Run
Delete
Rename
currencies.php
8.42 KB
2026-04-15 05:42:42
R
W
Run
Delete
Rename
currency-info.php
32.72 KB
2026-04-15 05:42:42
R
W
Run
Delete
Rename
locale-info.php
113.46 KB
2026-04-15 05:42:42
R
W
Run
Delete
Rename
phone.php
4.32 KB
2026-04-15 05:42:42
R
W
Run
Delete
Rename
states.php
95.98 KB
2026-04-15 05:42:42
R
W
Run
Delete
Rename
units.php
680 By
2026-04-15 05:42:42
R
W
Run
Delete
Rename
error_log
up
📄
units.php
Save
<?php /** * Units * * Returns a multidimensional array of measurement units and their labels. * Unit labels should be defined in English and translated native through localization files. * * @package WooCommerce\i18n * @version */ defined( 'ABSPATH' ) || exit; return array( 'weight' => array( 'kg' => __( 'kg', 'woocommerce' ), 'g' => __( 'g', 'woocommerce' ), 'lbs' => __( 'lbs', 'woocommerce' ), 'oz' => __( 'oz', 'woocommerce' ), ), 'dimensions' => array( 'm' => __( 'm', 'woocommerce' ), 'cm' => __( 'cm', 'woocommerce' ), 'mm' => __( 'mm', 'woocommerce' ), 'in' => __( 'in', 'woocommerce' ), 'yd' => __( 'yd', 'woocommerce' ), ), );