woocommerce_order_formatted_line_subtotal
Usage
add_filter( 'woocommerce_order_formatted_line_subtotal', 'wp_kama_woocommerce_order_formatted_line_subtotal_filter', 10, 3 ); /** * Function for `woocommerce_order_formatted_line_subtotal` filter-hook. * * @param $subtotal * @param $item * @param $that * * @return */ function wp_kama_woocommerce_order_formatted_line_subtotal_filter( $subtotal, $item, $that ){ // filter... return $subtotal; }
- $subtotal
- -
- $item
- -
- $that
- -
Where the hook is called
woocommerce_order_formatted_line_subtotal
woocommerce/includes/abstracts/abstract-wc-order.php 2147
return apply_filters( 'woocommerce_order_formatted_line_subtotal', $subtotal, $item, $this );