WordPress.org

Forums

set_transient() not working? (2 posts)

  1. meeble
    Member
    Posted 2 years ago #

    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

  2. Rahul Kumar Singhal
    Member
    Posted 1 year 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