Set Transient expiration
The countdown would start as soon as the transient is created or updated. Running set_transient() on an existing transient value will restart the clock. Per the Codex page on set_transient(): If a transient exists, this function will update the transient’s expiration time. According to the Transients API page, the expiration time is the maximum lifetime … Read more