woocommerce_get_item_count_refunded хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_get_item_count_refunded', 'wp_kama_woocommerce_get_item_count_refunded_filter', 10, 3 );

/**
 * Function for `woocommerce_get_item_count_refunded` filter-hook.
 * 
 * @param  $count     
 * @param  $item_type 
 * @param  $that      
 *
 * @return 
 */
function wp_kama_woocommerce_get_item_count_refunded_filter( $count, $item_type, $that ){

	// filter...
	return $count;
}
$count
-
$item_type
-
$that
-

Где вызывается хук

WC_Order::get_item_count_refunded()
woocommerce_get_item_count_refunded
woocommerce/includes/class-wc-order.php 2161
return apply_filters( 'woocommerce_get_item_count_refunded', $count, $item_type, $this );

Где используется хук в WooCommerce

Использование не найдено.