Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Noel Forte on "Working with Transients"

$
0
0

Hi-

I'm new to the transients API, and am trying to set up a page that runs a series of loops and database queries, outputs them to HTML as a variable, saves it to the database, and then can be accessed at any time.

If a user gets updated, I need the queries to be re-run and a new copy of the page to be generated.

I've already taken a look at the API page, and have gotten it pretty close to what I want, however, when I save a user into the database, the transient just gets cleared by a function/action I have set up in functions.php. However, a new page doesn't get re-generated. Help?

Thanks,

Noel


Viewing all articles
Browse latest Browse all 8245

Trending Articles