WooCommerce::shipping()publicWC 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 6.5.1

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