/home/techb158/l2hypotheques.com/wp-content/plugins/woocommerce/src/Utilities
NameSizeModeActions
ArrayUtil.php132990644editdlrm
CallbackUtil.php45040644editdlrm
DiscountsUtil.php11300644editdlrm
FeaturesUtil.php53140644editdlrm
I18nUtil.php17270644editdlrm
LoggingUtil.php32590644editdlrm
NumberUtil.php72850644editdlrm
OrderUtil.php94150644editdlrm
PluginUtil.php132970644editdlrm
RestApiUtil.php51300644editdlrm
ShippingUtil.php10200644editdlrm
StringUtil.php52120644editdlrm
TimeUtil.php11860644editdlrm
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/woocommerce/src/Utilities/I18nUtil.php (1727B)
plugin_path() . '/i18n/units.php'; } $label = $weight_unit; if ( ! empty( self::$units['weight'][ $weight_unit ] ) ) { $label = self::$units['weight'][ $weight_unit ]; } return $label; } /** * Get the translated label for a dimensions unit of measure. * * This will return the original input string if it isn't found in the units array. This way a custom unit of * measure can be used even if it's not getting translated. * * @param string $dimensions_unit The abbreviated dimension unit in English, e.g. cm. * * @return string */ public static function get_dimensions_unit_label( $dimensions_unit ) { if ( empty( self::$units ) ) { self::$units = include WC()->plugin_path() . '/i18n/units.php'; } $label = $dimensions_unit; if ( ! empty( self::$units['dimensions'][ $dimensions_unit ] ) ) { $label = self::$units['dimensions'][ $dimensions_unit ]; } return $label; } }