WordPress at Your Fingertips
function is not described

WC_Shipping::unregister_shipping_methods() public WC 1.0

Unregister shipping methods.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Shipping = new WC_Shipping();
$WC_Shipping->unregister_shipping_methods();

Code of WC_Shipping::unregister_shipping_methods() WC 5.9.0

public function unregister_shipping_methods() {
	$this->shipping_methods = null;
}