• Resolved WriterCJ

    (@calvin141170)


    Hi — I manage a site for a client who uses the premium version of WP Simple Booking Calendar, and need to purge Litespeed Cache on the site to whenever the calendar is updated.

    LS cache has an option to purge all whenever a list of WP- or Plugin- Hooks are triggered — so I was wondering, does WP Simple Booking Calendar use hooks, and if so is there a list of them available anywhere?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Roland Murg

    (@murgroland)

    Hey @calvin141170 ,

    You can use the wpsbc_save_calendar_data action to clear the cache, it is fired whenever a calendar is saved.

    add_action('wpsbc_save_calendar_data', function(){
        // clear cache here
    });
Viewing 1 replies (of 1 total)
  • The topic ‘Purche LS Cache when calendar updated’ is closed to new replies.