WordPress action hook

woocommerce_after_shipping_rate

Defined by WooCommerce and fired by 38 plugins in total, running on 7.3M+ sites between them.

How to use woocommerce_after_shipping_rate

It's an action: your callback runs at that point and receives 2 arguments. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'woocommerce_after_shipping_rate', function( $method, $index ) {
	// Your code runs here.
}, 10, 2 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

38 plugins that fire woocommerce_after_shipping_rate

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/cart/cart-shipping.php:41
  2. CartFlows icon CartFlows200,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) modules/checkout/classes/layouts/class-cartflows-instant-checkout.php:530
  3. ShopLentor icon ShopLentor80,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) includes/modules/shopify-like-checkout/includes/templates/cart-shipping.php:27
  4. FunnelKit icon FunnelKit30,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) modules/checkouts/public/template-common/checkout/cart-recurring-shipping-calculate.php:47
  5. Fluid Checkout for WooCommerce icon Fluid Checkout for WooCommerce20,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $package_index ) templates/compat/plugins/woocommerce-subscriptions/cart/cart-recurring-shipping.php:72
  6. ThemeHunk icon ThemeHunk5,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) inc/taiowc-markup.php:1214
  7. WPFunnels icon WPFunnels5,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) public/modules/checkout/templates/checkout/shipping-methods.php:41
  8. One page checkout and layouts for woocommerce icon One page checkout and layouts for woocommerce3,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) WooCommerce/cart/cart-shipping.php:41
  9. Addonify Floating Cart For WooCommerce icon Addonify Floating Cart For WooCommerce1,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) public/partials/cart-sections/shipping.php:61
  10. Address Book & Multiple Shipping for WooCommerce icon Address Book & Multiple Shipping for WooCommerce1,000+ installs do_action( 'woocommerce_after_shipping_rate', $method, $i ) public/templates/cart/cart-shipping.php:242
  11. Flexible Subscriptions icon Flexible Subscriptions1,000+ installs do_action( 'woocommerce_after_shipping_rate', $rate, $package_key ) templates/checkout/recurring-shipping.php:74
  12. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) public/templates/checkout/shopify-template/cart-shipping.php:28
  13. StoreBuild icon StoreBuild400+ installs do_action( 'woocommerce_after_shipping_rate', $storebuild_method, esc_attr($index) ) public/woocommerce/cart/cart-shipping.php:41
  14. OPSI Israel Domestic Shipments icon OPSI Israel Domestic Shipments300+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/woocommerce/cart/custom-cart-shipping.php:94
  15. KiriminAja Official icon KiriminAja Official200+ installs do_action( 'woocommerce_after_shipping_rate', $kiriof_method, $index ) templates/woocommerce/cart/cart-shipping.php:217
  16. Freight Integration for Woocommerce to Profrakt and Logistra by WildRobot icon Freight Integration for Woocommerce to Profrakt and Logistra by WildRobot200+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/woocommerce/cart/cart-shipping.php:42
  17. Shopready icon Shopready100+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) src/extension/elewidgets/widgets/checkout/template-part/cart-shipping.php:28
  18. FriendStore for WooCommerce icon FriendStore for WooCommerce100+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/woocommerce/cart/cart-shipping.php:43
  19. Pi – Shipping method dropdown for WooCommerce icon Pi – Shipping method dropdown for WooCommerce100+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) woocommerce/cart/cart-shipping.php:116
  20. DrEnvio for WooCommerce icon DrEnvio for WooCommerce90+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) public/templates/cart-shipping.php:85
  21. BulCommerce icon BulCommerce40+ installs do_action( 'woocommerce_after_shipping_rate', $rate, $index ) src/Shipping/Checkout/ClassicDeliveryFields.php:337
  22. One Page Checkout for WooCommerce icon One Page Checkout for WooCommerce30+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) public/templates/cart/cart-shipping.php:41
  23. Checkout Shipping Message Add-on for WooCommerce icon Checkout Shipping Message Add-on for WooCommerce20+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/cart-shipping.php:47
  24. Sherpa Delivery for WooCommerce icon Sherpa Delivery for WooCommerce10+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/frontend/cart/cart-shipping-flatsome.php:64
  25. Relay Point for WooCommerce icon Relay Point for WooCommerce10+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) woocommerce/cart/cart-shipping.php:48
  26. Emissary for Woocommerce icon Emissary for Woocommerce10+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) public/templates/cart-shipping.php:68
  27. Subscriptions & Recurring Payments for WooCommerce icon Subscriptions & Recurring Payments for WooCommerce10+ installs do_action( 'woocommerce_after_shipping_rate', $shipping_method, $index ) inc/inependent-functions/awc-cart-functions.php:103
  28. Allparcels.com icon Allparcels.com10+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) template/cart-shipping.php:66
  29. TrafficFlow OnePageCheckout for WooCommerce icon TrafficFlow OnePageCheckout for WooCommerce10+ installs do_action( 'woocommerce_after_shipping_rate', $opcw_rate, $opcw_i ) templates/part-shipping.php:64
  30. Shipvista Live Shipping Rates icon Shipvista Live Shipping Rates10+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/woocommerce/cart/cart-shipping.php:158
  31. Custom & One-Page Checkout for Woo icon Custom & One-Page Checkout for Woo10+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/woocommerce/cart/cart-shipping.php:47
  32. WPC icon WPC10+ installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) app/inc/Addons/wpc-onepage-checkout/templates/checkout/cart-shipping.php:22
  33. Kadio Deposit for Woocommerce icon Kadio Deposit for WoocommerceFewer than 10 installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/woocommerce/cart/cart-shipping.php:44
  34. ithan devvn checkout for woocommerce icon ithan devvn checkout for woocommerceFewer than 10 installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) templates/cart/cart-shipping.php:44
  35. SuperPlus icon SuperPlusFewer than 10 installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) includes/modules/checkout-steps/templates/woocommerce/cart/cart-shipping.php:70
  36. YayCheckout icon YayCheckoutFewer than 10 installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) includes/Renderer/CheckoutFragments.php:613
  37. SKYRO Checkout for WooCommerce icon SKYRO Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_after_shipping_rate', $method, $index ) src/FrontEnd/TemplateFiles/TemplateParts/shipping-methods-html.php:50
  38. Aiolos Checkout for WooCommerce icon Aiolos Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_after_shipping_rate', $aiolos_rate, $aiolos_index ) templates/checkout/shipping-methods.php:67

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.