WordPress action hook

woocommerce_register_form_tag

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

“Login Form”

How to use woocommerce_register_form_tag

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_register_form_tag', 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.

23 plugins that fire woocommerce_register_form_tag

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_register_form_tag' ) templates/myaccount/form-login.php:72
  2. SysBasics Customize My Account for WooCommerce icon SysBasics Customize My Account for WooCommerce7,000+ installs do_action( 'woocommerce_register_form_tag' ) templates/myaccount/form-login.php:152
  3. ShopEngine Gutenberg WooCommerce Builder Blocks Addon icon ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs do_action( 'woocommerce_register_form_tag' ) blocks/account-form-register/screen.php:27
  4. Registration Form for WooCommerce icon Registration Form for WooCommerce1,000+ installs do_action( 'woocommerce_register_form_tag' ) includes/templates/form-login.php:104
  5. Membership For WooCommerce icon Membership For WooCommerce700+ installs do_action( 'woocommerce_register_form_tag' ) public/woocommerce/templates/myaccount/form-login.php:77
  6. MarketKing icon MarketKing700+ installs do_action( 'woocommerce_register_form_tag' ) includes/class-marketking-core.php:6422
  7. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_register_form_tag' ) public/templates/my-account/form-login.php:60
  8. Kubelio Companion icon Kubelio Companion500+ installs do_action( 'woocommerce_register_form_tag' ) src/Account/views/auth.php:22
  9. TomS reCAPTCHA icon TomS reCAPTCHA500+ installs do_action( 'woocommerce_register_form_tag' ) inc/toms-recaptcha-woo-register.php:70
  10. StoreBuild icon StoreBuild400+ installs do_action( 'woocommerce_register_form_tag' ) public/woocommerce/myaccount/form-register.php:13
  11. Affiliates for WooCommerce icon Affiliates for WooCommerce300+ installs do_action( 'woocommerce_register_form_tag' ) templates/shortcodes/affiliate-registration-form.php:61
  12. Shopready icon Shopready100+ installs do_action( 'woocommerce_register_form_tag' ) src/extension/elewidgets/widgets/login_register/style/register/style1.php:59
  13. ShopMaker icon ShopMaker90+ installs do_action( 'woocommerce_register_form_tag' ) templates/widgets/sm-parts/my-account-form-register.php:30
  14. Joinotify icon Joinotify50+ installs do_action( 'woocommerce_register_form_tag' ) templates/otp-login/myaccount/form-login.php:64
  15. Product Feature Request icon Product Feature Request40+ installs do_action( 'woocommerce_register_form_tag' ) includes/public/class-thpfr-public.php:218
  16. Wholesale Essentials for WooCommerce icon Wholesale Essentials for WooCommerce10+ installs do_action( 'woocommerce_register_form_tag' ) views/myaccount/wholesale-login-register-form.php:119
  17. ShopCurator icon ShopCuratorFewer than 10 installs do_action( 'woocommerce_register_form_tag' ) templates/woocommerce/myaccount/form-login.php:114
  18. Wholesale Manager for WooCommerce icon Wholesale Manager for WooCommerceFewer than 10 installs do_action( 'woocommerce_register_form_tag' ) templates/myaccount/registration-form.php:28
  19. Store Booster Lite icon Store Booster LiteFewer than 10 installs do_action( 'woocommerce_register_form_tag' ) admin/logins/login-hooks.php:163
  20. SMS OTP Easy Login with Mocean icon SMS OTP Easy Login with MoceanFewer than 10 installs do_action( 'woocommerce_register_form_tag' ) templates/oelm-form-login.php:72
  21. Broadnet SMS Services: Orders, OTP, Login & Phone Number Access icon Broadnet SMS Services: Orders, OTP, Login & Phone Number AccessFewer than 10 installs do_action( 'woocommerce_register_form_tag' ) public/templates/woocommerce/myaccount/form-login.php:42
  22. TomS Vaptcha icon TomS VaptchaFewer than 10 installs do_action( 'woocommerce_register_form_tag' ) inc/toms-vaptcha-woo-register.php:70
  23. STM EU-B2B icon STM EU-B2BFewer than 10 installs do_action( 'woocommerce_register_form_tag' ) templates/registration-form.php:23

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.