Advanced Post Creation - Clear Cache

I have a site which is making very good use of the Advanced Post Creation add-on. The only issue is it does not appear to clear the site cache after a submission is made. This means a user can post a new item but be unable to see it on the site (if they go to the page where such posts are listed).

Is there an action I can employ to force the site cache to refresh after the new post has been saved?

Thanks

You could use the gform_advancedpostcreation_post_after_creation hook to clear the cache after the post has been created.

You’ll need to contact the developer of the caching/optimization plugin/service your site is using to find out which of their functions you need to call using that hook.

1 Like

Thanks, Richard.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.