woocommerce_get_item_count_refunded

woocommerce_get_item_count_refunded

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_get_item_count_refunded') is found 1 times:

  • /includes/class-wc-order.php line 2225
    2221
    2222
    2223
    2224
    2225
    2226
    2227
    2228
    2229
    2230
    2231
                $count += abs( $refunded_item->get_quantity() );
            }
        }
     
        return apply_filters( 'woocommerce_get_item_count_refunded', $count, $item_type, $this );
    }
     
    /**
     * Get the total number of items refunded.
     *
     * @since  2.4.0