• jeppe

    (@jeppeskovsgaard)


    Hello

    I’m using Relevanssi for searching a custom post type with custom taxonomies. It’s working very well, but I’m not totally sure if the index is getting rebuild automatically or if I have to make a cron job. I’ve read some old support threads but it’s not perfectly clear if that’s how it works.

    I have built a plugin that automatically adds or updates custom posts with the “wp_insert_post” function. This happens every 15 minute using a wp cron schedule.

    Is the index getting rebuilt automatically every time this function is executed?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Yes, wp_insert_post() fires the wp_insert_post filter hook which Relevanssi uses to automatically index new posts.

Viewing 1 replies (of 1 total)
  • The topic ‘Is the index getting rebuild when wp_insert_post is fired?’ is closed to new replies.