set_transient() not working? (2 posts)

  1. meeble
    Posted 2 years ago #


    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' );


  2. Rahul Kumar Singhal
    Posted 2 years ago #

    Hello All,

    I am also facing problem with transient. It was working before but now it is not working. I am searching but still I could not found the reason.

    Could anyone help me?

Topic Closed

This topic has been closed to new replies.

About this Topic