resetpass_form WordPress Action Hook

The resetpass_form hook is used to modify the password reset form in WordPress. This hook can be used to add extra fields to the form or to remove fields that are not needed.

do_action( 'resetpass_form', WP_User $user ) #

Fires following the ‘Strength indicator’ meter in the user password reset form.


Parameters

$user

(WP_User)User object of the user whose password is being reset.


Top ↑

Source

File: wp-login.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.