Adding order_shipping_to_display & order_subtotal_to_display filters.

This commit is contained in:
Brent Shepherd 2012-05-25 16:36:38 +10:00
parent 48c222f9d1
commit b43dc034e0
1 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ class WC_Order {
endif;
return $subtotal;
return apply_filters( 'woocommerce_order_subtotal_to_display', $subtotal, $compound, $this );
}
/** Gets shipping (formatted) */
@ -484,7 +484,7 @@ class WC_Order {
$shipping = __('Free!', 'woocommerce');
endif;
return $shipping;
return apply_filters( 'woocommerce_order_shipping_to_display', $shipping, $this );
}
/** Get a product (either product or variation) */