Quantcast
Channel: Transients API conditional - WordPress Development Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by fuxia for Transients API conditional

You could use a sanitized version of the URL as part of the name of the transient … but transient names are limited in their size. I would store the transient as an array with the URL and the HTML as...

View Article



Transients API conditional

I have the following transient, but if the user changes the value of $url the transient should not be used. I want to know what is the most appropriate way to use this variable with the transient....

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images