WordPress at Your Fingertips
function is not described

WooCommerce::__clone() public WC 2.1

Cloning is forbidden.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.1 Introduced.

Code of WooCommerce::__clone() WC 5.7.1

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