first_name last_name not working

We have renamed Post Grid plugin to Post Grid Combo
Ticket for: User Verification
1
first_name last_name not working 1
Anon
Apr 21, 2022 02:59 PM 1 Answers
Member Since Apr 2022
Subscribed Subscribe Not subscribe
Flag(1)

UserVerification/Email templates/parameters

{first_name} => User first name
{last_name} => User last name

have no effect, they dont appear in the email = blanks \"\".

WordPress setup: WooCommerce, Storefront.

1 Subscribers
first_name last_name not working 2
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
first_name last_name not working 3
Azizul Raju
Apr 23, 2022
Flag(0)

Hi Anon,
You got that right! Our Developer team is working on this. and will update the plugin asap.

first_name last_name not working 4
Anon
- Apr 29, 2022 05:48 AM
Flag (0)
0

I did some testing on a staging site. With all plugins deactivated except WooCommerce and Login/Signup Popup v2.3 by XootiX (
https://wordpress.org/plugins/easy-login-woocommerce/)

{first_name} = NaN in the emails
{first_name} = FirstName with my custom PHP foo call

first_name last_name not working 4
Anon
- Apr 29, 2022 04:51 AM
Flag (0)
0

maybe related:
https://stackoverflow.com/questions/11995588/how-to-get-wordpress-users-first-name-from-wp-user-object

I’m able to get first_name and last_name via PHP foo. How do you get this 2 parameters working?:

$new_user = get_userdata(get_current_user_id());
$user_meta = get_user_meta( $new_user->ID );
$last_name = get_user_meta( $new_user->ID, ‘last_name’, true );
$first_name = get_user_meta( $new_user->ID, ‘first_name’, true );
print_r($first_name);

first_name last_name not working 4
Anon
- Apr 29, 2022 03:23 AM
Flag (0)
0

I’m using your plugin UserVerification, which offers {first_name} as parameter under EmailTemplates/NewUserRegistration/…
And it is not working, rendering itself into empty NaN upon email delivery.
But I will go back and check for plugin conflicts, if you mean that the list of parameters ,which you generate, is dynamically produced somehow collecting fields of multiple 3d party plugins.

3+ more comments. Sign in to Reply
Replying as Submit