Set Transient expiration
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: Does the countdown (60*60*24) start as soon as I have inserted and saved the code? If yes: What happens if I let the code run for … Read more