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