WC_Payment_Gateways::__wakeup()
Unserializing instances of this class 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->__wakeup();
Changelog
Since 2.1 | Introduced. |
WC_Payment_Gateways::__wakeup() WC Payment Gateways:: wakeup code WC 9.3.1
public function __wakeup() { wc_doing_it_wrong( __FUNCTION__, __( 'Unserializing instances of this class is forbidden.', 'woocommerce' ), '2.1' ); }