woocommerce_register_form_start

woocommerce_register_form_start

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_register_form_start') is found 1 times:

  • /templates/myaccount/form-login.php line 74
    		<h2><?php esc_html_e( 'Register', 'woocommerce' ); ?></h2>
    
    		<form method="post" class="woocommerce-form woocommerce-form-register register" <?php do_action( 'woocommerce_register_form_tag' ); ?> >
    
    			<?php do_action( 'woocommerce_register_form_start' ); ?>
    
    			<?php if ( 'no' === get_option( 'woocommerce_registration_generate_username' ) ) : ?>
    
    				<p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">
    					<label for="reg_username"><?php esc_html_e( 'Username', 'woocommerce' ); ?>&nbsp;<span class="required" aria-hidden="true">*</span><span class="screen-reader-text"><?php esc_html_e( 'Required', 'woocommerce' ); ?></span></label>
    					<input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="reg_username" autocomplete="username" value="<?php echo ( ! empty( $_POST&#91;'username'&#93; ) ) ? esc_attr( wp_unslash( $_POST&#91;'username'&#93; ) ) : ''; ?>" required aria-required="true" /><?php // @codingStandardsIgnoreLine ?>
    

Examples using woocommerce_register_form_start