WC_Gateway_Paypal_Helper::update_addresses_in_order
Устарела с версии 0.5.0. Больше не поддерживается и может быть удалена. Используйте Automattic\WooCommerce\Gateways\PayPal\Helper::update_addresses_in_order().
Update the addresses in the order.
Метод класса: WC_Gateway_Paypal_Helper{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$result = WC_Gateway_Paypal_Helper::update_addresses_in_order( ?WC_Order $order, $paypal_order_details ): void;
- ?WC_Order $order(обязательный)
- .
- $paypal_order_details(массив) (обязательный)
- The PayPal order details.
Список изменений
| Устарела с 10.5.0 | Use Automattic\WooCommerce\Gateways\PayPal\Helper::update_addresses_in_order() instead. |
Код WC_Gateway_Paypal_Helper::update_addresses_in_order() WC Gateway Paypal Helper::update addresses in order WC 11.2.2
public static function update_addresses_in_order( ?WC_Order $order, array $paypal_order_details ): void {
wc_deprecated_function( __METHOD__, '10.5.0', 'Automattic\WooCommerce\Gateways\PayPal\Helper::update_addresses_in_order()' );
PayPalHelper::update_addresses_in_order( $order, $paypal_order_details );
}