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