Languages: English • 日本語 (Add your language)
This Template Tag returns the URL that allows the user to retrieve the lost password.
<?php echo wp_lostpassword_url( $redirect ); ?>
<a href="<?php echo wp_lostpassword_url(); ?>" title="Lost Password">Lost Password</a>
<a href="<?php echo wp_lostpassword_url( get_permalink() ); ?>" title="Lost Password">Lost Password</a>
<a href="<?php echo wp_lostpassword_url( get_bloginfo('url') ); ?>" title="Lost Password">Lost Password</a>
Since: 2.8.0
wp_lostpassword_url() is located in wp-includes/general-template.php
.
Login Tags:
is_user_logged_in(),
wp_login_form(),
wp_loginout(),
wp_logout(),
wp_register()
Login URLs:
wp_login_url(),
wp_logout_url(),
wp_lostpassword_url(),
wp_registration_url()