Emails - User Display Name

Hello there,

I use %user.display_name% in email templates however this seem to still return user_name, rather than the display name.

My hivepress settings are:

Users:
Display Name: First Name

Hosts:
Display Name: User Name

I expected %user.display_name% to return First Name based on those settings.

Do I need to use something other than %user.display_name%?

Kind regards,

Jovica

Hello,

Sometimes it’s tricky to work with these email tokens.
Your best option might be to create your own token, to get the result you would like.

A working solution :

Adapt to it to your own case.

Cheers,

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.