woocommerce_after_shipping_rate
Usage
add_action( 'woocommerce_after_shipping_rate', 'wp_kama_woocommerce_after_shipping_rate_action', 10, 2 ); /** * Function for `woocommerce_after_shipping_rate` action-hook. * * @param $method * @param $index * * @return void */ function wp_kama_woocommerce_after_shipping_rate_action( $method, $index ){ // action... }
- $method
- -
- $index
- -
Where the hook is called
In file: /templates/cart/cart-shipping.php
woocommerce_after_shipping_rate
woocommerce/templates/cart/cart-shipping.php 41
do_action( 'woocommerce_after_shipping_rate', $method, $index );