Adding the Litespeed Addon to the Plugin
Wordpress LScache Plugin: Adding the Litespeed Addon to the Plugin
I read in a previous post ( https://wordpress.org/support/topic/how-to-grant-an-access-to-clear-the-cache ) on how to How to grant an access to clear the cache to others who do not have admin access. You recommended to use the Addon found here: https://github.com/qtwrk/lscwp-addon/tree/main/lscwp-addon. Do I simply create a php file and upload it to the Litespeed plugin folder or do I create a separate folder in plugins and add this file to that folder? I apologize if this seems like an obvious question. I really need to let people with Editor access clear the Litespeed cache. Thanks. Your question is answered in this previous post. Read the last post from plugin support at the end of this post. https://wordpress.org/support/topic/how-to-grant-an-access-to-clear-the-cache/#post-14868461 Thank you for getting back to me. I did see that but I thought it looked like anyone with the url could clear the cache regardless if they had login access or not. I guess I was mistaken. Thank you for taking the time to reply. the custom code of that purge.php will purge cache , regardless login or guest user, anyone accessed that URI will trigger the purge you can add some custom condition like is_login() or something to fit your need. Thank you for your help.