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

apply_filters('woocommerce_get_item_count_refunded') is found 1 times:

  • /includes/class-wc-order.php line 2161
    				$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