LifterLMS ConvertKit Filters
If you need help with the utilization of these filters, please refer to the LifterLMS Filter documentation.
This filter allows modification of the cache duration of ConvertKit API responses.
The higher the duration, the fewer API calls LifterLMS ConvertKit will need to make. A lower duration will require more frequent round trips.
By default, the cache duration is set to 24-hours.
To modify the cache duration, try adding the following snippet to your theme’s functions.php. This function modifies LifterLMS ConvertKit to cache data for 15 minutes.
You may also opt to completely disable the cache by having your handler return 0, shown below:
Disable “consent” requirements: