Allow filtering of expiration in set_transient()
|Reported by:||wpsmith||Owned by:|
I recently needed to change an expiration of a transient and expected pre_set_site_transient_* filter to be able to do that. However, the filter only affects the value. I recommend adjusting this to affect both.
Change History (17)
comment:10 nacin — 9 months ago
- Summary changed from Change pre_set_site_transient_* to affect $expiration to Allow filtering of expiration in set_transient()