Variable {email} in the recovery template.

Posted by: canaldedente

10th January 2025, 8:21 pm

canaldedente

@canaldedente

10 Jan 2025
8:21 pm

Hello everyone, how are you?

Is it possible to use a variable to display the email that was used for password recovery?
Similar to how we use {username} or {reset_link}.

Take a look at what I mean in the screenshot.


See the example in the screenshot.

  • Forum Moderator
    Peter Wilkinson

    @wpenhanced

    15 Jan 2025
    10:28 am

    Hi Canaldedente

    Apologies for the delay coming back to you. I've added this to the plugin and you can patch your local version using the files available below:

    https://gist.github.com/Noou-Ben/94b14560a0026f8ad1d2fff740f1b813

    There are two files:

    • somfrp-functions.php - This should be placed in the plugin folder frontend-reset-password/includes
    • somfrp-settings.php - This should be placed in the plugin folder frontend-reset-password/includes/settings

    Thank you

    Ben

  • canaldedente

    @canaldedente

    15 Jan 2025
    12:15 pm

    Hello,

    Thank you very much. This helped me a lot.

    With condolences.