woocommerce_order_get_subtotal filter-hook . WC 1.0
Gets order subtotal.
Usage
add_filter( 'woocommerce_order_get_subtotal', 'filter_function_name_924', 10, 2 ); function filter_function_name_924( $condition, $that ){ // filter... return $condition; }
- $condition
- -
- $that
- -
Where the hook is called
woocommerce_order_get_subtotal
woocommerce/includes/abstracts/abstract-wc-order.php 443
return apply_filters( 'woocommerce_order_get_subtotal', (float) $subtotal, $this );