Tagged: 

  • This topic has 8 replies, 2 voices, and was last updated 9 years ago by Anonymous.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Anonymous
    #26695

    Hi,

    We import custom posts through a custom import and the filters will only update after manualy rebuild the cache.

    Is it possible to turn this of or to do this progamaticly? Without having to login as an admin but in also in an automated proces?

    Please advice.

    Mark
    Thordar

    Ross Moderator
    #26755

    Hey Mark

    There is a function for this, but its hidden away, in the next version (likely this week) I will add this and document 🙂

    Thanks

    Anonymous
    #26799
    This reply has been marked as private.
    Ross Moderator
    #26861

    Hi Mark

    There is, but its hidden – I will expose it for easy access in the next update.

    Thanks

    Anonymous
    #26872

    Hi,

    Thnx,

    Is the a way to turn it off until then? Since I need it to work by tomorrow 🙂

    Mark

    Ross Moderator
    #27043

    I’m afraid not – the cache is now used for meta queries so its pretty ingrained in some respects – I’m working on this at the moment and will get back to you once I’ve done the next release.

    Thamks

    Anonymous
    #27065

    Well ok,

    I will roll back to a version without the caching mechanism for now if there is also no way of calling it programaticly.

    Thnx for the answer.

    Mark

    Ross Moderator
    #29007

    Hey Mark

    I’ve just added an action for this:

    do_action('search_filter_update_post_cache', 1984);

    Change 1984 for your post ID.

    This is not released yet but I’ve emailed you this update directly.

    Thanks

    Anonymous
    #29016

    Thnx!! I really appreciate it!
    I can work with that.

    Mark

Viewing 9 posts - 1 through 9 (of 9 total)