• Resolved beefhooker

    (@beefhooker)


    Hi there,

    Is there a way I can customize the sign-in message when a user is signing in?

    The default message I see when I log in is “Log in to [website name], [link to website], [string of numbers]”

    Plugin is awesome and works beautifully, thank you for your work

    • This topic was modified 3 years, 4 months ago by beefhooker.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author lynn999

    (@lynn999)

    You can use the filter hook ethpress_login_message, like so:

    add_filter("ethpress_login_message", function($message, $coinbase) {
     // do something to $message, $coinbase is the address.
    return "my custom message for " . $coinbase;
    }, 10, 2);

    Or something so forth (didn’t test). Shouldn’t be too difficult, you can prob figure out, or circle back and ask.

    It will still add the string of numbers/letters at the end, that’s a security feature.

    Thread Starter beefhooker

    (@beefhooker)

    That worked perfectly! I completely forgot how to hook into filters, so this was incredibly helpful. Thanks so much for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change the Sign-In Message’ is closed to new replies.