woocommerce_register_form_start
The WordPress Core woocommerce register form start hook.
Description
do_action( 'woocommerce_register_form_start' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'woocommerce_register_form_start' );
- The following example is for adding a hook callback.
- // define the woocommerce_register_form_start callback
- function action_woocommerce_register_form_start( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'woocommerce_register_form_start', 'action_woocommerce_register_form_start', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'woocommerce_register_form_start', 'action_woocommerce_register_form_start', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /templates/myaccount/form-login.php
- <?php do_action( 'woocommerce_register_form_start' ); ?>