WordPress filter hook

woocommerce_shipping_may_be_available_html

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

How to use woocommerce_shipping_may_be_available_html

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'woocommerce_shipping_may_be_available_html', function( $_ ) {
	// Change $_ here.
	return $_;
}, 10, 1 );

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

29 plugins that fire woocommerce_shipping_may_be_available_html

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

  1. WooCommerce icon WooCommerce7+ million installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) templates/cart/cart-shipping.php:64
  2. CartFlows icon CartFlows200,000+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'cartflows' ) ) modules/checkout/classes/class-cartflows-checkout-markup.php:2449
  3. ShopLentor icon ShopLentor80,000+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woolentor' ) ) includes/modules/shopify-like-checkout/includes/templates/cart-shipping.php:50
  4. Fluid Checkout for WooCommerce icon Fluid Checkout for WooCommerce20,000+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) templates/compat/plugins/woocommerce-subscriptions/cart/cart-recurring-shipping.php:145
  5. SellKit icon SellKit7,000+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', esc_html__( 'Enter your address to view shipping options.', 'sellkit' ) ) includes/block-editor/blocks/checkout/inner-blocks/cart-shipping/class.php:144
  6. ThemeHunk icon ThemeHunk5,000+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', esc_html__( 'Enter your address to view shipping options.', 'th-all-in-one-woo-cart' ) ) inc/taiowc-markup.php:1250
  7. WPFunnels icon WPFunnels5,000+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'wpfnl' ) ) public/modules/checkout/templates/checkout/shipping-methods.php:63
  8. One page checkout and layouts for woocommerce icon One page checkout and layouts for woocommerce3,000+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) WooCommerce/cart/cart-shipping.php:61
  9. Address Book & Multiple Shipping for WooCommerce icon Address Book & Multiple Shipping for WooCommerce1,000+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', esc_html__('Enter your address to view shipping options.', 'woocommerce') ) public/templates/cart/cart-shipping.php:255
  10. ShopPress icon ShopPress600+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'shop-press' ) ) public/templates/checkout/shopify-template/cart-shipping.php:51
  11. StoreBuild icon StoreBuild400+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __('Enter your address to view shipping options.', 'shopbuild') ) public/woocommerce/cart/cart-shipping.php:67
  12. Noah Shop Builder for WooCommerce icon Noah Shop Builder for WooCommerce300+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'noah-shop-builder-for-woocommerce' ) ) templates/checkout/shipping-summary.php:32
  13. OPSI Israel Domestic Shipments icon OPSI Israel Domestic Shipments300+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) templates/woocommerce/cart/custom-cart-shipping.php:116
  14. KiriminAja Official icon KiriminAja Official200+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', '' ) templates/woocommerce/cart/cart-shipping.php:83
  15. Freight Integration for Woocommerce to Profrakt and Logistra by WildRobot icon Freight Integration for Woocommerce to Profrakt and Logistra by WildRobot200+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __('Enter your address to view shipping options.', 'woocommerce') ) templates/woocommerce/cart/cart-shipping.php:65
  16. FriendStore for WooCommerce icon FriendStore for WooCommerce100+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', wcl10n__('Enter your address to view shipping options.', 'woocommerce', 'html') ) templates/friendstore/shipping-calculator/shipping-calculator.php:59
  17. Shopready icon Shopready100+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'shopready-elementor-addon' ) ) src/extension/elewidgets/widgets/checkout/template-part/cart-shipping.php:51
  18. Pi – Shipping method dropdown for WooCommerce icon Pi – Shipping method dropdown for WooCommerce100+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'shipping-method-dropdown-for-woocommerce' ) ) woocommerce/cart/cart-shipping.php:138
  19. One Page Checkout for WooCommerce icon One Page Checkout for WooCommerce30+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'onepagecheckout-for-woocommerce' ) ) public/templates/cart/cart-shipping.php:61
  20. Checkout Shipping Message Add-on for WooCommerce icon Checkout Shipping Message Add-on for WooCommerce20+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) templates/cart-shipping.php:67
  21. Sherpa Delivery for WooCommerce icon Sherpa Delivery for WooCommerce10+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __('Enter your address to view shipping options.', 'woocommerce') ) templates/frontend/cart/cart-shipping-flatsome.php:85
  22. Relay Point for WooCommerce icon Relay Point for WooCommerce10+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __('Enter your address to view shipping options.', 'woocommerce') ) woocommerce/cart/cart-shipping.php:127
  23. Custom & One-Page Checkout for Woo icon Custom & One-Page Checkout for Woo10+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) templates/woocommerce/cart/cart-shipping.php:68
  24. WPC icon WPC10+ installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) app/inc/Addons/wpc-onepage-checkout/templates/checkout/cart-shipping.php:42
  25. Kadio Deposit for Woocommerce icon Kadio Deposit for WoocommerceFewer than 10 installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) templates/woocommerce/cart/cart-shipping.php:67
  26. SuperPlus icon SuperPlusFewer than 10 installs apply_filters( 'woocommerce_shipping_may_be_available_html', __('Enter your address to view shipping options.', 'superplus-for-woocommerce') ) includes/modules/checkout-steps/templates/woocommerce/cart/cart-shipping.php:93
  27. YayCheckout icon YayCheckoutFewer than 10 installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'yaycheckout' ) ) includes/Renderer/CheckoutFragments.php:555
  28. SKYRO Checkout for WooCommerce icon SKYRO Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'skyro-checkout-for-woocommerce' ) ) src/FrontEnd/TemplateFiles/TemplateParts/shipping-methods-html.php:73
  29. ithan devvn checkout for woocommerce icon ithan devvn checkout for woocommerceFewer than 10 installs apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'ithan-devvn-checkout-for-woocommerce' ) ) templates/cart/cart-shipping.php:94

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.