WordPress at Your Fingertips
function is not described

woocommerce_register_shipping_method() WC 1.5.7

Register a shipping method.

No Hooks.

Return

null. Nothing.

Usage

woocommerce_register_shipping_method( $shipping_method );
$shipping_method(string|object) (required)
class name (string) or a class object.

Changelog

Since 1.5.7 Introduced.

Code of woocommerce_register_shipping_method() WC 5.6.0

function woocommerce_register_shipping_method( $shipping_method ) {
	WC()->shipping()->register_shipping_method( $shipping_method );
}