WordPress at Your Fingertips
function is not described

WC_Payment_Gateways::__clone() public WC 2.1

Cloning is forbidden.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.1 Introduced.

Code of WC_Payment_Gateways::__clone() WC 5.9.0

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