Special mail tags not working
-
Hello and thank you for your plugin!
I am studying the special mail tags described on this page
https://contactform7.com/special-mail-tags/
and some of the tags don’t work for me.
These tags are:
[_user_display_name]
[_user_email]
[_user_first_name]
[_user_last_name]
[_user_login]
[_user_nickname]
[_user_url]I use the plugin version 5.2 and WordPress version 5.4.2. I looked at your plugin code and see that you are getting this data incorrectly.
In the file includes/special-mail-tags.php in line 103 you get the user display name like this:
$user->display_name;
and it should be like this:
$user->data->display_name;
As a result, these special mail tags are empty.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Special mail tags not working’ is closed to new replies.