WC_Gateway_Paypal_PDT_Handler::check_response
Устарела с версии 6.4. Больше не поддерживается и может быть удалена. Используйте
check_response_for_order.Check Response for PDT, taking the order id from the request.
Метод класса: WC_Gateway_Paypal_PDT_Handler{}
Хуки из метода
Возвращает
null. Ничего (null).
Использование
$WC_Gateway_Paypal_PDT_Handler = new WC_Gateway_Paypal_PDT_Handler(); $WC_Gateway_Paypal_PDT_Handler->check_response();
Список изменений
| Устарела с 6.4 | Use check_response_for_order instead. |
Код WC_Gateway_Paypal_PDT_Handler::check_response() WC Gateway Paypal PDT Handler::check response WC 11.2.2
public function check_response() {
global $wp;
$order_id = apply_filters( 'woocommerce_thankyou_order_id', absint( $wp->query_vars['order-received'] ) );
$this->check_response_for_order( $order_id );
}