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.9.5

apply_filters('woocommerce_order_fully_refunded_status') is found 1 times:

  • /includes/wc-order-functions.php line 719
    				 * @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 );
    				}
    			}
    		}