Open deepwaterpixel opened 3 years ago
Did I understand correctly that it is enough just in kroons ( WP Cron) add
jet_smart_filters()->indexer->index_filters();
right?
with great pleasure, I just noticed that in today's update, November 12th the automatic re-indexing has been fixed! YUP!
Currently, you must select the Sync Rating Data button in the JetReviews settings:
/wp-admin/admin.php?page=jet-dashboard-settings-page&subpage=jet-reviews-post-types
There is a similar interface for updating Indexes for JetSmartFilters:
/wp-admin/edit.php?post_type=jet-smart-filters
With the Index Filters option, we can setup a CRON to run
jet_smart_filters()->indexer->index_filters();
at whatever interval we want. I dug into the code and saw how you were accessing this function. When I tried to use a similar approach for syncing rating data, it wouldn't run. So, I reached out to support and gave my use case and this example, and was directed here to request this be made into a feature.Ideally, though, this would be done in code, as I've suggested for Jet Smart Filters, in this thread here:
https://github.com/Crocoblock/suggestions/issues/1159#issuecomment-794194326
So, I guess if we can't get a CRON in the code, maybe you can expose the call to the function more clearly, or help me figure it out, so I can setup my own CRON? Thanks!
Edit: Clarified my request a bit, forgot to mention the jet_smart_filters() call in my OP