• Resolved comaxi

    (@comaxi)


    HI,

    I wanted to display the user’s first name (or full name) by editing the Password Reset Email template. I replaced $user_login with $order->get_billing_first_name(), but I got an error.

    How to do it correctly? Thank you!

    <p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $user_login ) ); ?></p>
    
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display user’s first name or full name in the Password Reset Email’ is closed to new replies.