Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:cache:lscwp:api [2019/03/27 20:09]
Lisa Clarke [Functions]
litespeed_wiki:cache:lscwp:api [2020/05/04 13:55]
Shivam Saluja
Line 1: Line 1:
 ====== LSCache for WP Third Party Plugin Integration Framework ====== ====== LSCache for WP Third Party Plugin Integration Framework ======
 +**Please Note**: This wiki is valid for v2.9.x and below of the LiteSpeed Cache Plugin for WordPress. If you are using v3.0 or above, please see [[https://​docs.litespeedtech.com/​lscache/​lscwp/​overview/​|the new documentation]].
 +
 Any WordPress plugin that populates front-end content that can be publicly cached should work with LSCache. Any WordPress plugin that populates front-end content that can be publicly cached should work with LSCache.
  
Line 87: Line 89:
 ===== API ===== ===== API =====
 ==== Functions ==== ==== Functions ====
 +**This is only valid for v.2 of LSCWP since with v.3 all API functions have been replaced with hooks and the previous hooks have new names.
 +For assistance with migrating from v.2 to the refactored v.3 API please refer to the comments at [[https://​github.com/​litespeedtech/​lscache_wp/​blob/​master/​src/​api.cls.php#​L51|src/​api.cls.php under the init() function]] which has side-by-side comparisons & even lists hooks registered elsewhere.
 +See the [[https://​docs.litespeedtech.com/​lscache/​lscwp/​api/​|LSCWP v3 API documentation]] if starting new.
 +**
 +
 These functions are found in ''​plugins/​litespeed-cache/​inc/​api.class.php''​ and may be used in any hook point prior to the ''​shutdown''​ hook point. These functions are found in ''​plugins/​litespeed-cache/​inc/​api.class.php''​ and may be used in any hook point prior to the ''​shutdown''​ hook point.
  
  • Admin
  • Last modified: 2020/11/14 15:31
  • by Lisa Clarke