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

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

add_filter( 'woocommerce_order_amount_line_total', 'wp_kama_woocommerce_order_amount_line_total_filter', 10, 5 );

/**
 * Function for `woocommerce_order_amount_line_total` filter-hook.
 * 
 * @param  $total   
 * @param  $that    
 * @param  $item    
 * @param  $inc_tax 
 * @param  $round   
 *
 * @return 
 */
function wp_kama_woocommerce_order_amount_line_total_filter( $total, $that, $item, $inc_tax, $round ){

	// filter...
	return $total;
}
$total
-
$that
-
$item
-
$inc_tax
-
$round
-

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

WC_Abstract_Order::get_line_total()
woocommerce_order_amount_line_total
woocommerce/includes/abstracts/abstract-wc-order.php 2065
return apply_filters( 'woocommerce_order_amount_line_total', $total, $this, $item, $inc_tax, $round );

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

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