retrieve_password_title WordPress Filter Hook

The retrieve_password_title hook is used to filter the title of the password retrieval page.

apply_filters( 'retrieve_password_title', string $title, string $user_login, WP_User $user_data ) #

Filters the subject of the password reset email.


Parameters

$title

(string)Email subject.

$user_login

(string)The username for the user.

$user_data

(WP_User)WP_User object.


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Added the $user_login and $user_data parameters.
2.8.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.

Show More
Show More