Triggering an action after Updating

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Triggering an action after Updating

  • This topic has 3 replies, 2 voices, and was last updated 1 year, 1 month ago by Karina Oelmaier.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2009565
    Karina Oelmaier
    Participant

    Hi there. I’m looking for a way to automatically clear the cache (in our case WP Rocket) after updates are done via Updraft Central. I already understood that there is no direct compatibility with plugins like that, but is there an option to do it with custom code? For example I can use a cronjob to trigger the action for the cache purge. Is there something like a hook, function or anything that fires when Updraft is done?
    Cheers,
    Karina

    #2009566
    Karina Oelmaier
    Participant
    This reply has been marked as moderator-only.
    #2009703
    Vanessa
    Moderator

    When you say updates do you mean thing like adding new pages.
    WP Rocket should do this automatically in the following scenarios:

    for full cache preload

    When you save changes to WP Rocket settings that affect the front-end (because the cache is cleared).
    When you click the Clear and preload cache button in the admin toolbar, or on the WP Rocket dashboard.
    Whenever the rocket_clean_domain function is called.

    for partial preloads
    Partial cache preloading takes effect when WP Rocket automatically clears the cache for the following URLs:

    Published or updated URLs, such as posts/pages/custom post types.
    Including any other content related to it (i.e. home, category, tag, etc.)
    URLs in the Always Purge URL(s) box.
    Pages purged when the Cache Lifespan expires.

    there should not really be a need to do this.

    #2012325
    Karina Oelmaier
    Participant

    Hi Vanessa, I don’t mean publishing pages or something like that, I’m talking about updates Plugins / WordPress, etc. via Updraft Central.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Triggering an action after Updating’ is closed to new replies.