• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI
  • Changelog Subscribe

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / Hooks / LLMS_Controller_Account::lost_password / lostpassword_post

do_action( 'lostpassword_post', WP_Error $err, WP_User|false $user )

Fires before errors are returned from a password reset request.

Contents

  • Description
  • Parameters
  • Source
  • Related
    • Used By
  • Changelog
  • User Contributed Notes

Description #Description

Mimics WordPress core behavior so 3rd parties don’t need to add special handlers for LifterLMS password reset flows.


Top ↑

Parameters #Parameters

$err

(WP_Error) A WP_Error object containing any errors generated by using invalid credentials.

$user

(WP_User|false) WP_User object if found, false if the user does not exist.


Top ↑

Source #Source

File: includes/forms/controllers/class.llms.controller.account.php

View on GitHub


Top ↑

Related #Related

Used By #Used By

Used By
Used By Description
includes/forms/controllers/class.llms.controller.account.php: LLMS_Controller_Account::lost_password()

Handle form submission of the Lost Password form


Top ↑

Changelog #Changelog

Changelog
Version Description
3.37.17 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

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

© 2014 - 2025 LifterLMS · Privacy Policy · Terms and Conditions

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.