Replies: 0
1. I used the filter hook wpmem_login_form_rows let it change the Login form, it changes the Login form ok.
I used shortcode [wpmem_form password] then the Reset Password form is the same as the Login form, it is changed by wpmem_login_form_rows. There is a silly thing here when the Login Form and Reset Password are affected by wpmem_login_form_rows.
Now how can I customize each form individually?
add_filter('wpmem_login_form_rows', 'my_login_form_rows_filter', 10, 2);
function my_login_form_rows_filter($rows, $action)
{
$rows[0] = array(
'row_before' => '',
'label' => '<label for="log">メールアドレス</label>',
'field_before' => '<div class="div_text">',
'field' => '<input name="log" type="text" id="log" value="" class="username" required="">',
'field_after' => '</div>',
'row_after' => '',
);
$rows[1] = array(
'row_before' => '',
'label' => '<label for="pwd">パスワード</label>',
'field_before' => '<div class="div_text">',
'field' => '<input name="pwd" type="password" id="pwd" class="password valid" required="" aria-invalid="false">',
'field_after' => '</div>',
'row_after' => '',
);
return $rows;
}
2. Is there a way to send a link to change the password to the user when clicked to be redirected to a page that allows to set a new password yourself. Instead of sending new password to user email?
Thank everyone!