WC_Cart::get_shipping_total
Get shipping_total.
Method of the class: WC_Cart{}
Hooks from the method
Returns
float.
Usage
$WC_Cart = new WC_Cart(); $WC_Cart->get_shipping_total();
Changelog
| Since 3.2.0 | Introduced. |
WC_Cart::get_shipping_total() WC Cart::get shipping total code WC 10.3.6
public function get_shipping_total() {
return apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'shipping_total' ) );
}