Plugin Support
qtwrk
(@qtwrk)
Hi,
Could you please be a little bit of more specific ?
what do you mean by “cache in db”?
Best regards,
Thread Starter
akkara
(@akkara)
Hello,
Thank you for your reply,
I am developed a plugin for client, but Lightspeed cache keeps old pages even contents change… Then my clients tell me that the website isnt changed, because she is not aware of LSC exists there, and she wont be in the future. So I need to trigger LSC to clear old caches programmaticly whenever she changes contents which provided by my plugin.
Thanks,
Thread Starter
akkara
(@akkara)
I saw those functions in source code, when I attempt to call “LiteSpeed_Cache_API::purge_all()” I see error of “function/class doesnt exists”. So my pluing run earlier than LSC. Which “WP action” do I need to use?
Usually plugins run API after all plugins are loaded. Please try to run after or in after_setup_theme