Woocommerce get usermeta
-
I editing this template
email-customer-details.phpI put this code
<?php echo get_user_meta( get_current_user_id(), ‘billing_first_name’, true ) ?>It works well in email preview. Got value
But when testing send email the value is 0
So i have been thinking it get my current login_user id instead customer user id
So what should i change to diplay it
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Woocommerce get usermeta’ is closed to new replies.