WC_Shipping::__clone()publicWC 2.1

Cloning is forbidden.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.1 Introduced.

Code of WC_Shipping::__clone() WC 6.7.0

public function __clone() {
	wc_doing_it_wrong( __FUNCTION__, __( 'Cloning is forbidden.', 'woocommerce' ), '2.1' );
}