Skip to content

Commit

Permalink
feat: A message added under email for vendor registration form.
Browse files Browse the repository at this point in the history
  • Loading branch information
aihimel committed Sep 4, 2023
1 parent 58efa5e commit 3a96ee3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/account/vendor-registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<label for="reg_email"><?php esc_html_e( 'Email address', 'dokan-lite' ); ?> <span class="required">*</span></label>
<input type="email" class="input-text form-control" name="email" id="reg_email" value="<?php echo ! empty( $data['email'] ) ? esc_attr( $data['email'] ) : ''; ?>" required="required" />
<label class="reg_email_error"></label>
<?php if ( get_option( 'woocommerce_registration_generate_password', 'no' ) === 'yes' ) : ?>
<small><?php echo __( 'A link to set a new password will be sent to your email address.', 'dokan-lite' ); ?></small>
<?php endif; ?>
</p>

<p class="form-row form-group form-row-wide">
Expand Down

0 comments on commit 3a96ee3

Please sign in to comment.