The Old Man Posted July 30, 2021 Share Posted July 30, 2021 Hi, Is there a timestamp available in IPS somewhere or perhaps a background task timestamp for when the theme's files (js/css) were last rebuilt/cached? Basically I need to compare it to another timestamp inside a plugin background task to decide whether to trigger a cache rebuild. I don't want to reinvent the wheel if IPS already stores the timestamp or age somewhere already. Many thanks! Link to comment Share on other sites More sharing options...
Solution Daniel F Posted August 27, 2021 Solution Share Posted August 27, 2021 $theme->css_updated will contain the timestamp of the last rebuild. The Old Man 1 Link to comment Share on other sites More sharing options...
The Old Man Posted August 27, 2021 Author Share Posted August 27, 2021 Perfect, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts