retrieve_password_message

retrieve_password_message

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8.2

apply_filters('retrieve_password_message') is found 1 times:

  • /wp-includes/user.php line 3344
    3340
    3341
    3342
    3343
    3344
    3345
    3346
    3347
    3348
    3349
    * @param string  $key        The activation key.
     * @param string  $user_login The username for the user.
     * @param WP_User $user_data  WP_User object.
     */
    $message = apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data );
     
    // Short-circuit on falsey $message value for backwards compatibility.
    if ( ! $message ) {
        return true;
    }