• isuru24

    (@isuru24)


    HI, I am using learnpress rest api to manage course content for headless ui website. In my api, fetching course data I am experiencing an unusual situation.

    Even when I deleted all of my courses from the wordpress dashboard and trash, data of theree courses I have publiished is coming as the learnpres rest api result. Also when i newly added a course to the dashboard those course details are not fetch with the ap.

    API Link: https://slcp.azurewebsites.net/wp-json/learnpress/v1/courses

    I have tried several ways to fix this issue including unistalling and reinstall the plugiin can clean the cache. But still it gives only data of three courses which were publish earlier in the dashboard.

    Can someone help me to fix this issue.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi isuru24,

    Thank you for reaching out!

    We’ve checked and found that the issue with displaying the course list via your API is likely caused by caching. Please try the following steps to resolve the issue:

    1. Clear the cache on your site:
      • Go to LearnPressToolsCache → and click Clear all cache.
    2. Alternatively, you can append a randomVersion parameter to your API call.

    This should bypass the cache and ensure that the correct course list is displayed via the API.

    Let us know if this resolves the issue or if further assistance is needed.

    Best regards,
    Brianvu-tp

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.