• Hello,

    The following action hooks @ wp-login.php should also pass the user variable:

    1.
    $message = apply_filters(‘retrieve_password_message’, $message, $key);
    -> Also pass $user_login
    $user_login is needed to build the URL the user needs to click to confirm the password reset request.

    2.
    $message = apply_filters(‘password_reset_message’, $message, $new_pass);
    -> Also pass $user->user_login
    When sending the new password, we need to display the username that goes with it.

    (Maybe I missed something…)

    Best,

    Geert

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Incomplete action hooks @ wp-login.php ?’ is closed to new replies.