LearningSpot@Wordpress icon

LearningSpot@Wordpress

Consume Wordpress API

User → Get

AI-generated

Summary

Retrieve detailed information about a specific WordPress user identified by their unique User ID, optionally controlled by the request context to determine the fields returned.

Inputs

  • User ID (required) — Unique identifier for the user to retrieve.
  • Options — Additional settings for the request including 'Context' which sets the scope (View, Embed, Edit) determining which user fields are included in the response.

Output shape

a single record representing the specified user

The returned user data fields vary based on the chosen context option, affecting the scope of information included in the response.

Links

Discussion