Customize retrieve password message

You aren’t requesting all of the parameters that your callback needs.This:

add_filter ( 'retrieve_password_message', 'retrieve_password_message_filter');

Should be:

add_filter ( 'retrieve_password_message', 'retrieve_password_message_filter', 10 ,4);

Though you only need the first three, it looks loke.