This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Tell us what you are trying to do?
I have an automated import of addresses (cpt) And I need to programacically fire the 'check for missing cache entries' after an import. Is there a hook or function for this?
I reviewed the plugin code that is responsible for updating the cache with missing addresses, but unfortunately there are no public static methods that could be called to trigger the process. It is tied in to the ajax call which occurs when you click the "Check for missing cache entries" button and cannot be run in isolation from it.
(The only alternative would be to create an unpaginated View to display all posts which include an address field and to output that address field. Visiting the page containing the View would update the cache with any missing entries. But that still involves visiting a page, albeit on the front end.)
Hello Nigel,
Thank you for the quick response. To bad there is no option to do this the easy way. I will try your option by setting up a page with all addresses that will be loaded in an after import runs. Just have to wait and see if this fixes the issue.
Kind regards, hrbrt