WordPress action hook

woocommerce_checkout_before_customer_details

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

How to use woocommerce_checkout_before_customer_details

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

functions.php
add_action( 'woocommerce_checkout_before_customer_details', function() {
	// 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.

67 plugins that fire woocommerce_checkout_before_customer_details

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_checkout_before_customer_details' ) templates/checkout/form-checkout.php:36
  2. Essential Addons for Elementor icon Essential Addons for Elementor1+ million installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/Template/Woocommerce/Checkout/Woo_Checkout_Helper.php:591
  3. CartFlows icon CartFlows200,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) woocommerce/template/checkout/form-checkout.php:37
  4. ShopEngine icon ShopEngine90,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) core/page-templates/screens/content-checkout.php:48
  5. ShopLentor icon ShopLentor80,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/modules/shopify-like-checkout/includes/templates/form-checkout.php:208
  6. FunnelKit icon FunnelKit30,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) modules/checkouts/public/template-common/form-amazon-checkout.php:99
  7. Fluid Checkout for WooCommerce icon Fluid Checkout for WooCommerce20,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) inc/checkout-steps.php:4227
  8. ShopBuilder icon ShopBuilder10,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/elementor/checkout/billing-form.php:14
  9. SellKit icon SellKit7,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/block-editor/blocks/checkout/templates/form-checkout.php:45
  10. Multi-Step Checkout for WooCommerce icon Multi-Step Checkout for WooCommerce7,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/settings-array.php:392
  11. Donation Platform for WooCommerce: Fundraising & Donation Management icon Donation Platform for WooCommerce: Fundraising & Donation Management6,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/templates/wcdp_step_2.php:24
  12. WPFunnels icon WPFunnels5,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) public/modules/checkout/class-wpfnl-checkout.php:2544
  13. Youzify icon Youzify5,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/public/templates/members/single/woocommerce/checkout/form-checkout.php:36
  14. Responsive Addons for Elementor icon Responsive Addons for Elementor3,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) traits/responsive-addons-for-elementor-woo-checkout-helper.php:601
  15. MultiStep Checkout for WooCommerce icon MultiStep Checkout for WooCommerce3,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/form-checkout.php:215
  16. WP Travel icon WP Travel3,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/form-checkout.php:36
  17. One page checkout and layouts for woocommerce icon One page checkout and layouts for woocommerce3,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) WooCommerce/checkout/cclw_includes/cclw_billing_details_section.php:5
  18. MStore API icon MStore API2,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/mstore-api-template.php:125
  19. CheckoutWC Lite icon CheckoutWC Lite2,000+ installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/Compatibility/Plugins/WooCommerceCore.php:68
  20. Svea Checkout for WooCommerce icon Svea Checkout for WooCommerce800+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/svea-checkout.php:110
  21. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_checkout_before_customer_details' ) public/templates/checkout/multi-step-checkout-form.php:121
  22. StoreBuild icon StoreBuild400+ installs do_action( 'woocommerce_checkout_before_customer_details' ) public/woocommerce/checkout/form-checkout.php:37
  23. Noah Shop Builder for WooCommerce icon Noah Shop Builder for WooCommerce300+ installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/Blocks/CheckoutForm.php:216
  24. FoodBook Lite icon FoodBook Lite300+ installs do_action( 'woocommerce_checkout_before_customer_details' ) template/woocommerce/checkout/form-checkout.php:38
  25. Appointment Booking Plugin for WooCommerce icon Appointment Booking Plugin for WooCommerce200+ installs do_action( 'woocommerce_checkout_before_customer_details' ) Frontend/MPWPB_Inline_WC_Checkout.php:134
  26. KiriminAja Official icon KiriminAja Official200+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/woocommerce/checkout/form-checkout.php:36
  27. Shopready icon Shopready100+ installs do_action( 'woocommerce_checkout_before_customer_details' ) src/extension/templates/presets/checkout/form-checkout-one.php:43
  28. RestroFood Lite icon RestroFood Lite100+ installs do_action( 'woocommerce_checkout_before_customer_details' ) view/modal-checkout.php:13
  29. ShopMaker icon ShopMaker90+ installs do_action( 'woocommerce_checkout_before_customer_details' ) classes/widgets/sm-checkout-billing-form.php:628
  30. Product Page Customizer for WooCommerce icon Product Page Customizer for WooCommerce60+ installs do_action( 'woocommerce_checkout_before_customer_details' ) frontend/Enable-Quick-Checkout/templates/checkout/quick-form-checkout.php:40
  31. fluXtore Funnel Builder icon fluXtore Funnel Builder50+ installs do_action( 'woocommerce_checkout_before_customer_details' ) woocommerce/checkout/form-checkout.php:43
  32. Awesome Checkout Templates icon Awesome Checkout Templates40+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/template-1.php:672
  33. Checkout Custom Fields Builder for WooCommerce icon Checkout Custom Fields Builder for WooCommerce30+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/frontend/checkout/form-checkout.php:29
  34. One Page Checkout for WooCommerce icon One Page Checkout for WooCommerce30+ installs do_action( 'woocommerce_checkout_before_customer_details' ) public/templates/checkout/parts/billing_details_section.php:4
  35. Multistep Checkout for  Woocommerce icon Multistep Checkout for Woocommerce10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) woocommerce/checkout/form-checkout.php:116
  36. MultiStep Checkout icon MultiStep Checkout10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) woocommerce/checkout/form-checkout.php:65
  37. Max Elements for Elementor icon Max Elements for Elementor10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) elementor/helpers/woo_checkout.php:581
  38. TrafficFlow OnePageCheckout for WooCommerce icon TrafficFlow OnePageCheckout for WooCommerce10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/page-checkout.php:180
  39. TSF Multistep Checkout for WooCommerce icon TSF Multistep Checkout for WooCommerce10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) woocommerce/checkout/form-checkout.php:55
  40. Multistep Checkout for Woocommerce icon Multistep Checkout for Woocommerce10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) checkout/form-checkout.php:37
  41. Step-By-Step Ordering System for WooCommerce icon Step-By-Step Ordering System for WooCommerce10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) woocommerce/checkout/form-checkout.php:50
  42. Manual Orders for Woocommerce icon Manual Orders for Woocommerce10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/form-checkout.php:72
  43. Quicker icon Quicker10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) core/modules/multi-step-checkout/templates/form-checkout.php:29
  44. PayEx WooCommerce Checkout icon PayEx WooCommerce Checkout10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/payex/form-checkout.php:21
  45. Custom & One-Page Checkout for Woo icon Custom & One-Page Checkout for Woo10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/frontend/checkout.php:187
  46. wcOne icon wcOne10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) template/woocommerce/checkout/form-checkout.php:36
  47. WPC icon WPC10+ installs do_action( 'woocommerce_checkout_before_customer_details' ) app/inc/Addons/wpc-onepage-checkout/templates/checkout/form-checkout.php:39
  48. SKYRO Checkout for WooCommerce icon SKYRO Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) src/FrontEnd/TemplateFiles/Credence/checkout-template.php:50
  49. Cresta Checkout for WooCommerce icon Cresta Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) inc/blocks/blocks-checkout.php:102
  50. SuperPlus icon SuperPlusFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/modules/checkout-steps/templates/woocommerce/checkout/form-checkout.php:53
  51. Mobimint Mobile App Builder for WooCommerce icon Mobimint Mobile App Builder for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/mobile-checkout.php:204
  52. Storzen icon StorzenFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) elementor/widgets/class-storzen-style-checkout-widgets.php:265
  53. All in one checkout page builder for woocommerce icon All in one checkout page builder for woocommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/woocommerce/checkout/form-checkout.php:233
  54. Checkout Popup icon Checkout PopupFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) woocommerce/checkout/form-checkout.php:36
  55. VIMA icon VIMAFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/form-checkout.php:35
  56. Goopter advanced integration for PayPal Complete Payments and for WooCommerce icon Goopter advanced integration for PayPal Complete Payments and for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) template/ppcp-funnelkit-order-review.php:152
  57. Easy2Cuba for WooCommerce icon Easy2Cuba for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/form-checkout.php:32
  58. Knarra Checkout for WooCommerce icon Knarra Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/form-checkout.php:89
  59. Checkoutify Lite icon Checkoutify LiteFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/minimalista/template.php:21
  60. Web22 Checkout icon Web22 CheckoutFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/form-checkout.php:41
  61. MCOD Minimalist Checkout for WooCommerce icon MCOD Minimalist Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/woocommerce/checkout/form-checkout.php:68
  62. Aiolos Checkout for WooCommerce icon Aiolos Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/step-details.php:49
  63. Marfilo icon MarfiloFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/class-shop.php:1193
  64. Zamzam Chat Order for WooCommerce icon Zamzam Chat Order for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) includes/Frontend/class-checkout-handler.php:106
  65. Product Page Shipping for WooCommerce icon Product Page Shipping for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) templates/checkout/form-checkout.php:36
  66. Ajax instant buy checkout for WooCommerce icon Ajax instant buy checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) template/mono-checkout.php:46
  67. WS Custom Checkout icon WS Custom CheckoutFewer than 10 installs do_action( 'woocommerce_checkout_before_customer_details' ) checkout/templates/for_replacement/form-checkout.php:69

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.