woocommerce_order_fully_refunded_status

woocommerce_order_fully_refunded_status

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_order_fully_refunded_status') is found 1 times:

  • /includes/wc-order-functions.php line 720
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
             * @param string $parent_status The status to set the order to when fully refunded.
             * @param int    $order_id      The order ID.
             * @param int    $refund_id     The refund ID.
             */
            $parent_status = apply_filters( 'woocommerce_order_fully_refunded_status', OrderStatus::REFUNDED, $order->get_id(), $refund->get_id() );
     
            if ( $parent_status ) {
                $order->update_status( $parent_status );
            }
        }
    }