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:
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.
-
WooCommerce7+ million installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/cart/cart-shipping.php:41 -
CartFlows200,000+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )modules/checkout/classes/layouts/class-cartflows-instant-checkout.php:530 -
ShopLentor80,000+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )includes/modules/shopify-like-checkout/includes/templates/cart-shipping.php:27 -
FunnelKit30,000+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )modules/checkouts/public/template-common/checkout/cart-recurring-shipping-calculate.php:47 -
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 -
ThemeHunk5,000+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )inc/taiowc-markup.php:1214 -
WPFunnels5,000+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )public/modules/checkout/templates/checkout/shipping-methods.php:41 -
One page checkout and layouts for woocommerce3,000+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )WooCommerce/cart/cart-shipping.php:41 -
Addonify Floating Cart For WooCommerce1,000+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )public/partials/cart-sections/shipping.php:61 -
Address Book & Multiple Shipping for WooCommerce1,000+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $i )public/templates/cart/cart-shipping.php:242 -
Flexible Subscriptions1,000+ installs
do_action( 'woocommerce_after_shipping_rate', $rate, $package_key )templates/checkout/recurring-shipping.php:74 -
ShopPress600+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )public/templates/checkout/shopify-template/cart-shipping.php:28 -
StoreBuild400+ installs
do_action( 'woocommerce_after_shipping_rate', $storebuild_method, esc_attr($index) )public/woocommerce/cart/cart-shipping.php:41 -
OPSI Israel Domestic Shipments300+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/woocommerce/cart/custom-cart-shipping.php:94 -
KiriminAja Official200+ installs
do_action( 'woocommerce_after_shipping_rate', $kiriof_method, $index )templates/woocommerce/cart/cart-shipping.php:217 -
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 -
Shopready100+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )src/extension/elewidgets/widgets/checkout/template-part/cart-shipping.php:28 -
FriendStore for WooCommerce100+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/woocommerce/cart/cart-shipping.php:43 -
Pi – Shipping method dropdown for WooCommerce100+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )woocommerce/cart/cart-shipping.php:116 -
DrEnvio for WooCommerce90+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )public/templates/cart-shipping.php:85 -
BulCommerce40+ installs
do_action( 'woocommerce_after_shipping_rate', $rate, $index )src/Shipping/Checkout/ClassicDeliveryFields.php:337 -
One Page Checkout for WooCommerce30+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )public/templates/cart/cart-shipping.php:41 -
Checkout Shipping Message Add-on for WooCommerce20+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/cart-shipping.php:47 -
Sherpa Delivery for WooCommerce10+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/frontend/cart/cart-shipping-flatsome.php:64 -
Relay Point for WooCommerce10+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )woocommerce/cart/cart-shipping.php:48 -
Emissary for Woocommerce10+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )public/templates/cart-shipping.php:68 -
Subscriptions & Recurring Payments for WooCommerce10+ installs
do_action( 'woocommerce_after_shipping_rate', $shipping_method, $index )inc/inependent-functions/awc-cart-functions.php:103 -
Allparcels.com10+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )template/cart-shipping.php:66 -
TrafficFlow OnePageCheckout for WooCommerce10+ installs
do_action( 'woocommerce_after_shipping_rate', $opcw_rate, $opcw_i )templates/part-shipping.php:64 -
Shipvista Live Shipping Rates10+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/woocommerce/cart/cart-shipping.php:158 -
Custom & One-Page Checkout for Woo10+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/woocommerce/cart/cart-shipping.php:47 -
WPC10+ installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )app/inc/Addons/wpc-onepage-checkout/templates/checkout/cart-shipping.php:22 -
Kadio Deposit for WoocommerceFewer than 10 installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/woocommerce/cart/cart-shipping.php:44 -
ithan devvn checkout for woocommerceFewer than 10 installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )templates/cart/cart-shipping.php:44 -
SuperPlusFewer than 10 installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )includes/modules/checkout-steps/templates/woocommerce/cart/cart-shipping.php:70 -
YayCheckoutFewer than 10 installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )includes/Renderer/CheckoutFragments.php:613 -
SKYRO Checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_after_shipping_rate', $method, $index )src/FrontEnd/TemplateFiles/TemplateParts/shipping-methods-html.php:50 -
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.