How to Add Confirm Password Field In WooCommerce Registration Page?
<p>Am trying to add the code  </p>

<pre><code>&lt;?php
// Add the code below to your theme's functions.php file to add a confirm password field on the register form under My Accounts.
add_filter('woocommerce_registration_errors', 'registration_errors_validation', 10,3);
function registration_errors_validation($reg_errors, $sanitized_user_login, $user_email) {
    global $woocommerce;
    extract( $_POST );
    if ( strcmp( $password, $password2 ) !== 0 ) {
        return new WP_Error( 'registration-error', __( 'Passwords do not match.', 'woocommerce' ) );
    }
    return $reg_errors;
}
add_action( 'woocommerce_register_form', 'wc_register_form_password_repeat' );
function wc_register_form_password_repeat() {
    ?&gt;
    &lt;p class="form-row form-row-wide"&gt;
        &lt;label for="reg_password2"&gt;&lt;?php _e( 'Password Repeat', 'woocommerce' ); ?&gt; &lt;span class="required"&gt;*&lt;/span&gt;&lt;/label&gt;
        &lt;input type="password" class="input-text" name="password2" id="reg_password2" value="&lt;?php if ( ! empty( $_POST['password2'] ) ) echo esc_attr( $_POST['password2'] ); ?&gt;" /&gt;
    &lt;/p&gt;
    &lt;?php
}
?&gt;
</code></pre>

<p>on function.php but not working... Any on tell how to add the password conformation field on woocommerce/myaccout/form-login.php</p>