woocommerce_cart_collaterals action-hookWC 1.0

Cart collaterals hook.

Usage

add_action( 'woocommerce_cart_collaterals', 'wp_kama_woocommerce_cart_collaterals_action' );

/**
 * Function for `woocommerce_cart_collaterals` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_cart_collaterals_action(){

	// action...
}

Where the hook is called

In file: /templates/cart/cart.php
woocommerce_cart_collaterals
woocommerce/templates/cart/cart.php 191
do_action( 'woocommerce_cart_collaterals' );

Where the hook is used in WooCommerce

woocommerce/includes/wc-template-hooks.php 245
add_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );
woocommerce/includes/wc-template-hooks.php 246
add_action( 'woocommerce_cart_collaterals', 'woocommerce_cart_totals', 10 );