WC_Payment_Gateways::__clone()publicWC 2.1

Cloning is forbidden.

Method of the class: WC_Payment_Gateways{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 2.1 Introduced.

WC_Payment_Gateways::__clone() code WC 8.7.0

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