woocommerce_cart_totals_before_shipping
Usage
add_action( 'woocommerce_cart_totals_before_shipping', 'wp_kama_woocommerce_cart_totals_before_shipping_action' ); /** * Function for `woocommerce_cart_totals_before_shipping` action-hook. * * @return void */ function wp_kama_woocommerce_cart_totals_before_shipping_action(){ // action... }
Where the hook is called
In file: /templates/cart/cart-totals.php
woocommerce_cart_totals_before_shipping
woocommerce/templates/cart/cart-totals.php 43
<?php do_action( 'woocommerce_cart_totals_before_shipping' ); ?>