WordPress at Your Fingertips
function is not described

WooCommerce::shipping() public WC 1.0

Get shipping class.

{} It's a method of the class: WooCommerce{}

No Hooks.

Return

WC_Shipping.

Usage

$WooCommerce = new WooCommerce();
$WooCommerce->shipping();

Code of WooCommerce::shipping() WC 5.7.1

public function shipping() {
	return WC_Shipping::instance();
}