woocommerce_cart_needs_payment, $order->needs_payment(
woocommerce_cart_needs_payment, $order->needs_payment(
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_cart_needs_payment, $order->needs_payment(') is found 1 times:
- /includes/class-wc-checkout.php line 1444
* since it could be empty see: * https://github.com/woocommerce/woocommerce/issues/24631 */ if ( apply_filters( 'woocommerce_cart_needs_payment', $order->needs_payment(), WC()->cart ) ) { $this->process_order_payment( $order_id, $posted_data['payment_method'] ); } else { $this->process_order_without_payment( $order_id ); } } } catch ( Exception $e ) {