Skip to content

Commit c14e9bb

Browse files
committed
1 parent 27387f8 commit c14e9bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

woocommerce/payment-gateway/class-sv-wc-payment-gateway.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ protected function mark_order_as_held( $order, $message, $response = null ) {
18191819
$order_note = sprintf( __( '%s Transaction Held for Review (%s)', $this->text_domain ), $this->get_method_title(), $message );
18201820

18211821
/**
1822-
* Order Held Order Status Filter.
1822+
* Held Order Status Filter.
18231823
*
18241824
* Actors may use this to change the order status that is used when an order
18251825
* status should be marked as held. Held orders are usually a result of an
@@ -1831,7 +1831,7 @@ protected function mark_order_as_held( $order, $message, $response = null ) {
18311831
* @param \SV_WC_Payment_Gateway_API_Response $response instance
18321832
* @param \SV_WC_Payment_Gateway $this gateway instance
18331833
*/
1834-
$order_status = apply_filters( 'wc_payment_gateway_' . $this->get_id() . '_order_held_order_status', 'on-hold', $order, $response, $this );
1834+
$order_status = apply_filters( 'wc_payment_gateway_' . $this->get_id() . '_held_order_status', 'on-hold', $order, $response, $this );
18351835

18361836
// mark order as held
18371837
if ( ! $order->has_status( $order_status ) ) {

0 commit comments

Comments
 (0)