Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    You are correct, this is caused by the caching. Your modifications will actually be cached (you could flush the cache by simply saving the table again), but if that’s undesireable, you can simply turn off the caching for that Shortcode, by extending it to

    [table id=123 cache_table_output=false /]

    Regards,
    Tobias

    Thread Starter gaspar

    (@gaspar)

    Thanks, Tobias!
    Is there any reason not to have this hook and still use cache with it?
    I haven’t looked at the code but can you process hook operations before cache applied?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    the hook is always evaluated when the cache is refreshed. When the cached version is loaded, it will not be processed, as that would be against the purpose of caching.
    Thus, unless the code that you run on that hook does something that should not be cached, you can leave caching on.
    Can you maybe explain or give me an example of what you are using that hook for?

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with tablepress_table_render_data’ is closed to new replies.