Read profile fields
wp_get_user_metaGet standard profile fields (user meta) of one user: one field, or all of them. Only a fixed list of non-sensitive keys is available: first_name, last_name, nickname, description, locale, rich_editing, syntax_highlighting, show_admin_bar_front and admin_color; any other key is refused with that list. Returns {user_id, key, value} or {user_id, meta: {key: value}}. Needs list_users and the right to edit that user and each field (in the standard roles: administrators). An unknown user_id returns a not-found error. Read-only. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | One field from the list above. When omitted, all of them are read. | |
| user_id | Yes | User id; authors' ids appear in the results of wp_list_posts and wp_get_post. |