Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / Functions / learndash_login_form_lostpassword()

learndash_login_form_lostpassword()

Stores the password reset redirect_to URL.

Contents

  • Description
    • Source
    • Changelog
  • User Contributed Notes

Description #Description

Fires on login_form_lostpassword hook.

When the user clicks the password reset on the LD login popup we capture the ‘redirect_to’ URL. This is done at step 2 of the password reset process after the user has enter their username/email.

The user will then receive an email from WP with a link to reset the password. Once the user has created a new password they will be shown a login link. That login URL will be the stored ‘redirect_to’ user meta value. See the function learndash_password_reset_login_url() for that stage of the processing.


Source #Source

File: themes/ld30/includes/login-register-functions.php


			

Expand full source code Collapse full source code


Top ↑

Changelog #Changelog

Changelog
Version Description
3.1.1.1 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

You must log in before being able to contribute a note or feedback.

Proudly powered by WordPress