woocommerce_login_form_start

woocommerce_login_form_start

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

See hook in core

Displaying hooks found in version: woocommerce.9.2.3

do_action('woocommerce_login_form_start') is found 2 times:

  • /templates/global/form-login.php line 29
     
    ?>
    <form class="woocommerce-form woocommerce-form-login login" method="post" <?php echo ( $hidden ) ? 'style="display:none;"' : ''; ?>>
    
    	<?php do_action( 'woocommerce_login_form_start' ); ?>
    
    	<?php echo ( $message ) ? wpautop( wptexturize( $message ) ) : ''; // @codingStandardsIgnoreLine ?>
    
    	<p class="form-row form-row-first">
    		<label for="username"><?php esc_html_e( 'Username or email', '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="input-text" name="username" id="username" autocomplete="username" required aria-required="true" />
    
  • /templates/myaccount/form-login.php line 36
    		<h2><?php esc_html_e( 'Login', 'woocommerce' ); ?></h2>
    
    		<form class="woocommerce-form woocommerce-form-login login" method="post">
    
    			<?php do_action( 'woocommerce_login_form_start' ); ?>
    
    			<p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">
    				<label for="username"><?php esc_html_e( 'Username or email address', '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="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 ?>
    			</p>
    			<p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide">