woocommerce_cart_totals_before_order_total хук-событие . WC 1.0
Использование
add_action( 'woocommerce_cart_totals_before_order_total', 'action_function_name_5116' ); function action_function_name_5116(){ // action... }
Где вызывается хук
В файле: /templates/cart/cart-totals.php
woocommerce_cart_totals_before_order_total
woocommerce/templates/cart/cart-totals.php 95
<?php do_action( 'woocommerce_cart_totals_before_order_total' ); ?>