WordPress action hook

woocommerce_before_checkout_billing_form

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

“This action is documented in woocommerce/templates/checkout/form-billing.php”

How to use woocommerce_before_checkout_billing_form

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

functions.php
add_action( 'woocommerce_before_checkout_billing_form', function( $checkout ) {
	// Your code runs here.
}, 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.

51 plugins that fire woocommerce_before_checkout_billing_form

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_before_checkout_billing_form', $checkout ) templates/checkout/form-billing.php:32
  2. Essential Addons for Elementor icon Essential Addons for Elementor1+ million installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) includes/Template/Woocommerce/Checkout/Woo_Checkout_Helper.php:635
  3. CartFlows icon CartFlows200,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) woocommerce/template/checkout/form-billing.php:32
  4. ShopEngine icon ShopEngine90,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) widgets/checkout-form-billing/screens/default.php:25
  5. ShopLentor icon ShopLentor80,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) includes/modules/shopify-like-checkout/includes/templates/form-billing.php:39
  6. FunnelKit icon FunnelKit30,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $this->native_checkout_fields ) modules/checkouts/includes/class-register-third-party-fields.php:211
  7. Fluid Checkout for WooCommerce icon Fluid Checkout for WooCommerce20,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/fc/checkout-steps/checkout/form-billing.php:37
  8. SellKit icon SellKit7,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) includes/block-editor/blocks/checkout/inner-blocks/billing-details/class.php:126
  9. Donation Platform for WooCommerce: Fundraising & Donation Management icon Donation Platform for WooCommerce: Fundraising & Donation Management6,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) includes/wc-templates/checkout/form-billing.php:33
  10. WPFunnels icon WPFunnels5,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) woocommerce/templates/checkout/form-billing.php:65
  11. Youzify icon Youzify4,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) includes/public/templates/members/single/woocommerce/checkout/form-billing.php:43
  12. WowStore icon WowStore4,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) blocks/woo/checkout/billing/Template.php:31
  13. Ultimate Store Kit icon Ultimate Store Kit3,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) modules/page-checkout/widgets/page-checkout.php:1034
  14. Responsive Addons for Elementor icon Responsive Addons for Elementor3,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) traits/responsive-addons-for-elementor-woo-checkout-helper.php:829
  15. One page checkout and layouts for woocommerce icon One page checkout and layouts for woocommerce3,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) WooCommerce/checkout/form-billing.php:23
  16. ShopEngine Gutenberg WooCommerce Builder Blocks Addon icon ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) blocks/checkout-form-billing/screen.php:68
  17. CheckoutWC Lite icon CheckoutWC Lite2,000+ installs do_action( 'woocommerce_before_checkout_billing_form', WC()->checkout() ) includes/Compatibility/Plugins/WooCommerceCore.php:33
  18. Registration Form for WooCommerce icon Registration Form for WooCommerce1,000+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) includes/templates/form-billing.php:24
  19. 워드프레스 결제 심플페이 icon 워드프레스 결제 심플페이900+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/checkout/pafw/form-billing.php:11
  20. Svea Checkout for WooCommerce icon Svea Checkout for WooCommerce800+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/checkout/additional-fields.php:63
  21. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) public/templates/checkout/checkout-form-billing.php:28
  22. StoreBuild icon StoreBuild400+ installs do_action( 'woocommerce_before_checkout_billing_form', $storebuild_checkout ) public/woocommerce/checkout/form-billing.php:29
  23. Postcodes4U Address Finder icon Postcodes4U Address Finder300+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) woocommerce/checkout/form-billing.php:43
  24. FoodBook Lite icon FoodBook Lite300+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) template/woocommerce/checkout/form-billing.php:33
  25. KiriminAja Official icon KiriminAja Official200+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/woocommerce/checkout/form-billing.php:32
  26. Vindi icon Vindi100+ installs do_action( 'woocommerce_before_checkout_billing_form', $order ) app/Views/WooCommerce/orders/payment-link.php:8
  27. ShopMaker icon ShopMaker90+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/widgets/checkout/form-billing.php:25
  28. Vindi Hub icon Vindi Hub60+ installs do_action( 'woocommerce_before_checkout_billing_form', $order ) src/templates/fields-order-pay-checkout.php:4
  29. Product Page Customizer for WooCommerce icon Product Page Customizer for WooCommerce60+ installs do_action( 'woocommerce_before_checkout_billing_form', $sppcfw_checkout ) frontend/Enable-Quick-Checkout/templates/checkout/quick-checkout-form-billing.php:28
  30. fluXtore Funnel Builder icon fluXtore Funnel Builder50+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) woocommerce/checkout/form-checkout.php:127
  31. Checkout Custom Fields Builder for WooCommerce icon Checkout Custom Fields Builder for WooCommerce30+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/frontend/checkout/form-billing.php:27
  32. One Page Checkout for WooCommerce icon One Page Checkout for WooCommerce30+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) public/templates/checkout/form-billing.php:23
  33. سرویس خرید پستی ماها icon سرویس خرید پستی ماها10+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) checkout/form-billing.php:12
  34. Woo NovaPoshta Shipping Method icon Woo NovaPoshta Shipping Method10+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) template/woocommerce/checkout/form-billing.php:27
  35. Max Elements for Elementor icon Max Elements for Elementor10+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) elementor/helpers/woo_checkout.php:625
  36. TrafficFlow OnePageCheckout for WooCommerce icon TrafficFlow OnePageCheckout for WooCommerce10+ installs do_action( 'woocommerce_before_checkout_billing_form', $opcw_checkout ) templates/page-checkout.php:406
  37. Multistep Checkout for Woocommerce icon Multistep Checkout for Woocommerce10+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) checkout/form-billing.php:32
  38. Pay Now Direct SNAP icon Pay Now Direct SNAP10+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) public/partials/order-details/modify-order-modal.php:85
  39. Manual Orders for Woocommerce icon Manual Orders for Woocommerce10+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/checkout/form-billing.php:27
  40. PayEx WooCommerce Checkout icon PayEx WooCommerce Checkout10+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/checkout/payex/form-billing.php:6
  41. WPC icon WPC10+ installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) app/inc/Addons/wpc-onepage-checkout/templates/checkout/form-billing.php:23
  42. SuperPlus icon SuperPlusFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) includes/modules/checkout-steps/templates/woocommerce/checkout/form-checkout.php:58
  43. Aiolos Checkout for WooCommerce icon Aiolos Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/checkout/step-details.php:95
  44. All in one checkout page builder for woocommerce icon All in one checkout page builder for woocommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/woocommerce/checkout/form-billing.php:23
  45. Checkout Popup icon Checkout PopupFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) woocommerce/checkout/form-billing.php:37
  46. Cresta Checkout for WooCommerce icon Cresta Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/wc/checkout/form-billing.php:24
  47. Easy2Cuba for WooCommerce icon Easy2Cuba for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/checkout/form-billing.php:23
  48. MCOD Minimalist Checkout for WooCommerce icon MCOD Minimalist Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/woocommerce/checkout/form-billing.php:77
  49. SKYRO Checkout for WooCommerce icon SKYRO Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) src/FrontEnd/TemplateFiles/TemplateParts/form-billing.php:24
  50. Product Page Shipping for WooCommerce icon Product Page Shipping for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) templates/checkout/form-billing.php:32
  51. Bazario icon BazarioFewer than 10 installs do_action( 'woocommerce_before_checkout_billing_form', $checkout ) elements/widgets/checkout-form-billing/checkout-form-billing.php:841

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.