Hook comments for each action on template files
As i'm working with my theme i have found difficult to keep track of all actions and hooks, i think all actions should be commented with their respective hooks like you have already done on archive-product.php
This commit is contained in:
parent
e208e35e33
commit
79d3291ba5
|
@ -154,7 +154,15 @@ do_action( 'woocommerce_before_cart' ); ?>
|
|||
</form>
|
||||
|
||||
<div class="cart-collaterals">
|
||||
<?php do_action( 'woocommerce_cart_collaterals' ); ?>
|
||||
<?php
|
||||
/**
|
||||
* woocommerce_cart_collaterals hook.
|
||||
*
|
||||
* @hooked woocommerce_cross_sell_display
|
||||
* @hooked woocommerce_cart_totals - 10
|
||||
*/
|
||||
do_action( 'woocommerce_cart_collaterals' );
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php do_action( 'woocommerce_after_cart' ); ?>
|
||||
|
|
Loading…
Reference in New Issue