WordPress action hook

woocommerce_before_checkout_registration_form

Defined by WooCommerce and fired by 44 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_registration_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_registration_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.

44 plugins that fire woocommerce_before_checkout_registration_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_registration_form', $checkout ) templates/checkout/form-billing.php:59
  2. Essential Addons for Elementor icon Essential Addons for Elementor1+ million installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) includes/Template/Woocommerce/Checkout/Woo_Checkout_Helper.php:662
  3. CartFlows icon CartFlows200,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) woocommerce/template/checkout/form-billing.php:59
  4. ShopEngine icon ShopEngine90,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) widgets/checkout-form-billing/screens/default.php:55
  5. ShopLentor icon ShopLentor80,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) includes/modules/shopify-like-checkout/includes/templates/form-billing.php:68
  6. FunnelKit icon FunnelKit30,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) modules/checkouts/public/template-common/account.php:21
  7. Fluid Checkout for WooCommerce icon Fluid Checkout for WooCommerce20,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/fc/checkout-steps/checkout/form-account-creation.php:53
  8. Amazon Pay for WooCommerce icon Amazon Pay for WooCommerce10,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) includes/legacy/class-wc-gateway-amazon-payments-advanced-legacy.php:1286
  9. Donation Platform for WooCommerce: Fundraising & Donation Management icon Donation Platform for WooCommerce: Fundraising & Donation Management6,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) includes/wc-templates/checkout/form-billing.php:66
  10. WPFunnels icon WPFunnels5,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) woocommerce/templates/checkout/form-billing.php:113
  11. Youzify icon Youzify4,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) includes/public/templates/members/single/woocommerce/checkout/form-billing.php:73
  12. WowStore icon WowStore4,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) blocks/woo/checkout/billing/Template.php:59
  13. Ultimate Store Kit icon Ultimate Store Kit3,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) modules/page-checkout/widgets/page-checkout.php:1070
  14. Responsive Addons for Elementor icon Responsive Addons for Elementor3,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) traits/responsive-addons-for-elementor-woo-checkout-helper.php:856
  15. One page checkout and layouts for woocommerce icon One page checkout and layouts for woocommerce3,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) WooCommerce/checkout/form-billing.php:50
  16. ShopEngine Gutenberg WooCommerce Builder Blocks Addon icon ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) blocks/checkout-form-billing/screen.php:131
  17. Registration Form for WooCommerce icon Registration Form for WooCommerce1,000+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) includes/templates/form-billing.php:73
  18. Svea Checkout for WooCommerce icon Svea Checkout for WooCommerce800+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/checkout/additional-fields.php:30
  19. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) public/templates/checkout/checkout-form-billing.php:54
  20. StoreBuild icon StoreBuild400+ installs do_action( 'woocommerce_before_checkout_registration_form', $storebuild_checkout ) public/woocommerce/checkout/form-billing.php:56
  21. Postcodes4U Address Finder icon Postcodes4U Address Finder300+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) woocommerce/checkout/form-billing.php:187
  22. FoodBook Lite icon FoodBook Lite300+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) template/woocommerce/checkout/form-billing.php:60
  23. KiriminAja Official icon KiriminAja Official200+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/woocommerce/checkout/form-billing.php:61
  24. ShopMaker icon ShopMaker90+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/widgets/checkout/form-billing.php:54
  25. Product Page Customizer for WooCommerce icon Product Page Customizer for WooCommerce60+ installs do_action( 'woocommerce_before_checkout_registration_form', $sppcfw_checkout ) frontend/Enable-Quick-Checkout/templates/checkout/quick-checkout-form-billing.php:43
  26. Checkout Custom Fields Builder for WooCommerce icon Checkout Custom Fields Builder for WooCommerce30+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/frontend/checkout/form-account-fields.php:36
  27. One Page Checkout for WooCommerce icon One Page Checkout for WooCommerce30+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) public/templates/checkout/form-billing.php:50
  28. سرویس خرید پستی ماها icon سرویس خرید پستی ماها10+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) checkout/form-billing.php:62
  29. Woo NovaPoshta Shipping Method icon Woo NovaPoshta Shipping Method10+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) template/woocommerce/checkout/form-billing.php:76
  30. Max Elements for Elementor icon Max Elements for Elementor10+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) elementor/helpers/woo_checkout.php:652
  31. TrafficFlow OnePageCheckout for WooCommerce icon TrafficFlow OnePageCheckout for WooCommerce10+ installs do_action( 'woocommerce_before_checkout_registration_form', $opcw_checkout ) templates/page-checkout.php:236
  32. Multistep Checkout for Woocommerce icon Multistep Checkout for Woocommerce10+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) checkout/form-billing.php:62
  33. Manual Orders for Woocommerce icon Manual Orders for Woocommerce10+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/checkout/form-billing.php:55
  34. PayEx WooCommerce Checkout icon PayEx WooCommerce Checkout10+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/checkout/payex/form-billing.php:33
  35. WPC icon WPC10+ installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) app/inc/Addons/wpc-onepage-checkout/templates/checkout/form-billing.php:48
  36. 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_registration_form', $checkout ) templates/woocommerce/checkout/form-billing.php:50
  37. Checkout Popup icon Checkout PopupFewer than 10 installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) woocommerce/checkout/form-billing.php:57
  38. Cresta Checkout for WooCommerce icon Cresta Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/wc/checkout/form-billing.php:47
  39. Easy2Cuba for WooCommerce icon Easy2Cuba for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/checkout/form-billing.php:46
  40. Web22 Checkout icon Web22 CheckoutFewer than 10 installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/checkout/form-checkout.php:72
  41. SKYRO Checkout for WooCommerce icon SKYRO Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) src/FrontEnd/TemplateFiles/TemplateParts/form-billing.php:64
  42. Aiolos Checkout for WooCommerce icon Aiolos Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/checkout/step-details.php:130
  43. Product Page Shipping for WooCommerce icon Product Page Shipping for WooCommerceFewer than 10 installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) templates/checkout/form-billing.php:59
  44. Bazario icon BazarioFewer than 10 installs do_action( 'woocommerce_before_checkout_registration_form', $checkout ) elements/widgets/checkout-form-billing/checkout-form-billing.php:871

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.