woocommerce_order_subtotal_to_display filter-hookWC 1.0

Usage

add_filter( 'woocommerce_order_subtotal_to_display', 'wp_kama_woocommerce_order_subtotal_to_display_filter', 10, 3 );

/**
 * Function for `woocommerce_order_subtotal_to_display` filter-hook.
 * 
 * @param  $subtotal 
 * @param  $compound 
 * @param  $that     
 *
 * @return 
 */
function wp_kama_woocommerce_order_subtotal_to_display_filter( $subtotal, $compound, $that ){

	// filter...
	return $subtotal;
}
$subtotal
-
$compound
-
$that
-

Where the hook is called

WC_Abstract_Order::get_subtotal_to_display()
woocommerce_order_subtotal_to_display
woocommerce/includes/abstracts/abstract-wc-order.php 2180
return apply_filters( 'woocommerce_order_subtotal_to_display', $subtotal, $compound, $this );

Where the hook is used in WooCommerce

Usage not found.