Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#44392 closed enhancement (wontfix)

get_user_field

Reported by: markuscode Owned by:
Priority: normal Milestone:
Component: Users Version:
Severity: normal Keywords: close
Cc: Focuses:

Description

Hi. How i can can get user field for example user email just by ID?

Change History (3)

#1 @ianbelanger
8 years ago

  • Keywords close added; needs-codex removed

Hi @markuscode,

Welcome to Trac and thanks for your ticket! This is a question which should probably be asked in the support forum https://wordpress.org/support/.

That being said, you can use get_user_meta() https://developer.wordpress.org/reference/functions/get_user_meta/ to retrieve any user meta information.

I am going to close this ticket as it is not a bug or feature request.

#2 @swissspidy
8 years ago

#44409 was marked as a duplicate.

#3 @swissspidy
8 years ago

  • Component GeneralUsers
  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed
  • Type feature requestenhancement

Closing this for the reasons outlined in #44409.

Note: See TracTickets for help on using tickets.