WordPress at Your Fingertips
filter is not described

retrieve_password_message filter-hook . WP 2.8.0

Filters the message body of the password reset mail.

If the filtered message is empty, the password reset email will not be sent.


add_filter( 'retrieve_password_message', 'filter_function_name_3603', 10, 4 );
function filter_function_name_3603( $message, $key, $user_login, $user_data ){
	// filter...

	return $message;
Email message.
The activation key.
The username for the user.
WP_User object.


Since 2.8.0 Introduced.
Since 4.1.0 Added $user_login and $user_data parameters.

Where the hook is called

wp-includes/user.php 2847
$message = apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data );

Where in WP core the hook is used WordPress

Usage not found.