I am unable to get courses in a category using API.
API request for courses in course_id 531:
https://ibb.co/VDNFBsc
Screenshot for course category exists:
https://ibb.co/1JgFbcv
hi
i think you should try the course ID this one
http://prntscr.com/1tjx3s5
I want all the courses in category 351.
hi
then you should change the URL
as this one is for course
http://prntscr.com/1tkx3ou
not the course-category
for course-cat you should try
something like
http://yoursite.com/course-cat/technology/
I want rest API for JSON response. This returns html page.
course/filters(?P.+)?: This endpoint uses the json data as the url to fetch results, for example if you want to fetch the recent courses then use the json data in the url
Url : http://localhost/wordpressnew/wp-json/wplms/v1/course/filters?filter=%7B%22search%22:%22%22,%22filters%22:%5B%5D,%22sort%22:%22popular%22,%22paged%22:1%7D
refer: https://vibethemes.github.io/wplms-docs/developer-guide.html#main-enpoints