Actions60
- Courses Actions
- Lessons Actions
- Topics Actions
- Quizzes Actions
- Groups Actions
- Course Users Actions
- Group Users Actions
- Custom Actions
- Assignments Actions
- Essays Actions
- Questions Actions
- Group Leaders Actions
- User Course Progress Actions
- User Courses Actions
- Group Courses Actions
- User Groups Actions
User Courses → List
AI-generatedSummary
Lists the LearnDash courses associated with a specified WordPress user by sending a GET request to the LearnDash REST API.
Inputs
- Parent ID (required) — WordPress user ID whose enrolled courses should be listed. Required.
- Filters — Optional query filters. Supports Search, Per Page, Page, Order, Order By, and Status.
- Query Parameters (JSON) — Optional raw query parameters as a JSON object. Merged over the Filters collection, so it can override or extend them.
Output shape
Array
Returns an array of LearnDash course objects from the API. If the API returns a single object, it is wrapped in an array.
Examples
Example 1: A workflow builder wants to fetch all courses assigned to a specific user ID.
List a WordPress user's enrolled courses.
