WordPress at a glance
function is not described

woocommerce_get_weight() WC 1.0

Deprecated from version 3.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

No Hooks.

Return

null. Nothing.

Usage

woocommerce_get_weight( $weight, $to_unit );
$weight (required)
-
$to_unit (required)
-

Changelog

Deprecated 3.0

Code of woocommerce_get_weight() WC 5.3.0

<?php
function woocommerce_get_weight( $weight, $to_unit ) {
	wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_weight' );
	return wc_get_weight( $weight, $to_unit );
}