woocommerce_api_order_refunds_response

woocommerce_api_order_refunds_response

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

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_order_refunds_response') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-orders.php line 1485
    		foreach ( $refund_items as $refund_id ) {
    			$order_refunds[] = current( $this->get_order_refund( $order_id, $refund_id, $fields ) );
    		}
    
    		return array( 'order_refunds' => apply_filters( 'woocommerce_api_order_refunds_response', $order_refunds, $order_id, $fields, $refund_items, $this ) );
    	}
    
    	/**
    	 * Get an order refund for the given order ID and ID
    	 *
    	 * @since 2.2
    
  • /includes/legacy/api/v3/class-wc-api-orders.php line 1530
    		foreach ( $refund_items as $refund_id ) {
    			$order_refunds[] = current( $this->get_order_refund( $order_id, $refund_id, $fields ) );
    		}
    
    		return array( 'order_refunds' => apply_filters( 'woocommerce_api_order_refunds_response', $order_refunds, $order_id, $fields, $refund_items, $this ) );
    	}
    
    	/**
    	 * Get an order refund for the given order ID and ID
    	 *
    	 * @since 2.2