Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. <form class="woocommerce-EditAccountForm edit-account" action="" method="post">
  2.  
  3. <?php do_action( 'woocommerce_edit_account_form_start' ); ?>
  4.  
  5. <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide col-sm-6">
  6. <label for="account_email"><?php esc_html_e( 'Email', 'woocommerce' ); ?>&nbsp;<span class="required">*</span></label>
  7. <input type="email" class="woocommerce-Input woocommerce-Input--email input-text" name="account_email" id="account_email" autocomplete="email" value="<?php echo esc_attr( $user->user_email ); ?>" />
  8. <span id="btn-change-pass" class="btn">+ Change your password</span>
  9. </p>
  10.  
  11. <?php include "../checkout/form-billing.php"; ?>
  12.  
  13. function action_woocommerce_edit_account_form_end( ) {
  14. // Add the form
  15. };
  16.  
  17.  
  18. add_action( 'woocommerce_edit_account_form_end', 'action_woocommerce_edit_account_form_end', 10, 0 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement