WordPress.org Learn - The canonical source for the code and content behind https://learn.WordPress.org
260
stars
89
forks
source link
Future enhancement - WP REST API - Enable filtering of lessons by course #2693
Open
jonathanbossenger opened 1 month ago
Type of feedback
//dev
Description
Currently, we have two public WP REST API endpoints for courses and lessons. However, one cannot request all lessons that belong to a course.
The link between courses and lessons appears to be stored in a meta key, so it would be great to filter lessons by a course.
Here's an example of enabling this functionality.