Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Automattic

    (@automattic)

    Hi,

    To be clear, #2 won’t force an update, it will just allow you to modify the length of time that cached results are saved before being refreshed (the default is 24hrs).

    The best way to do this would be with a plugin that filters eventbrite_cache_expiry; something like this:

    function eventbrite_api_cache_one_hour() {
    	return HOUR_IN_SECONDS;
    }
    add_filter( 'eventbrite_cache_expiry', 'eventbrite_api_cache_one_hour' );
    Thread Starter Zapier01

    (@trt-academy)

    hello,

    ok noted.

    in an case, then does it mean the fastest way to let the update from eventbrite appear at the web page is by dis-connecting and re-connecting the keyring connection?

    thank you.

    Plugin Author Automattic

    (@automattic)

    in an case, then does it mean the fastest way to let the update from eventbrite appear at the web page is by dis-connecting and re-connecting the keyring connection?

    Correct; otherwise, to have it pick up automatically, you would need to wait for the cache to expire. Hope that helps.

    Thread Starter Zapier01

    (@trt-academy)

    hello,

    ok noted.
    we will discuss with our web programmer regarding the plugin.

    is there instruction somewhere regarding dis-connecting and re-connecting the keyring connection, which we can refer our staff to, to learn how to do it?

    thank you.

    disconnecting and reconnecting the keyring connection does NOT clear the cache as far as I can tell. So that doesn’t really work as a solution here.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Force Event Update’ is closed to new replies.