WooCommerce::__clone()publicWC 2.1

Cloning is forbidden.

Method of the class: WooCommerce{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 2.1 Introduced.

WooCommerce::__clone() code WC 8.6.1

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