Support

Account

Home Forums Front-end Issues How to show user-data on frontend for 'current-user' instead of userid Reply To: How to show user-data on frontend for 'current-user' instead of userid

  • 
    // get the current user id
    $user_id = get_current_user_id();
    // get a field from the user
    $value = get_field('field_name', 'user_'.$user_id');