set_transient() not working?
-
hi,
I am very interested in creating persistent cache objects within my custom plugins yet, I can’t seem to get this to work at all:
set_transient( 'test_object', 'test_value', 0 );
Shouldn’t this create 2 rows in the wp-options table? No rows are being written to the table I also can’t get this to return any value either:
get_transient( 'test_object' );
thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘set_transient() not working?’ is closed to new replies.