WC_Payment_Gateways::__wakeup
Unserializing instances of this class is forbidden.
Method of the class: WC_Payment_Gateways{}
No Hooks.
Returns
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 10.5.0
public function __wakeup() {
wc_doing_it_wrong( __FUNCTION__, __( 'Unserializing instances of this class is forbidden.', 'woocommerce' ), '2.1' );
}