woocommerce_after_cart_totals хук-событиеWC 1.0

Использование

add_action( 'woocommerce_after_cart_totals', 'wp_kama_woocommerce_after_cart_totals_action' );

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

	// action...
}

Где вызывается хук

В файле: /templates/cart/cart-totals.php
woocommerce_after_cart_totals
woocommerce/templates/cart/cart-totals.php 110
<?php do_action( 'woocommerce_after_cart_totals' ); ?>

Где используется хук в WooCommerce

woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php 230
add_action( 'woocommerce_after_cart_totals', array( $this, 'render_buttons_container' ) );