IT Nursery
I have a page that displays a random post every day. In order to change post every 24 hours I use set_transient('totd_trans_post_id', $totd[0]->ID, (60*60*24)); What I’m wondering is this:...
  • June 4, 2022
  • 0 Comments
IT Nursery
Is there an easy way to delete all transient caches? A plugin maybe? Or like in drupal “drush cc all”? 3 Answers 3 Not tested, but if you need...
  • June 1, 2022
  • 0 Comments
IT Nursery
I read about transient in the codex and some questions and answers here. So i’m developing a web app based on wp. It works now, but i want to...
  • May 26, 2022
  • 0 Comments
I am trying to implement transient fragments, I’ve been doing what is suggested here: http://css-tricks.com/wordpress-fragment-caching-revisited/ While it is working for headers, footers, landing pages, I am having issues making...
  • May 26, 2022
  • 0 Comments
I have a plugin that interfaces with an API and am storing retrieved schedule data in a transient. Storing the transient for 24 hours: set_transient($schedule_cache, $schedule_data, 60 * 60...
  • May 26, 2022
  • 0 Comments