WC_Payment_Gateways::__wakeup()publicWC 2.1

Unserializing instances of this class is forbidden.

Метод класса: WC_Payment_Gateways{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Список изменений

С версии 2.1 Введена.

Код WC_Payment_Gateways::__wakeup() WC 8.7.0

public function __wakeup() {
	wc_doing_it_wrong( __FUNCTION__, __( 'Unserializing instances of this class is forbidden.', 'woocommerce' ), '2.1' );
}