Continue reading Using the relevanssi_where hook

Using the relevanssi_where hook

If you want to add extra filters to the search results, you can add them using a hook. Relevanssi searches for results in the _relevanssi table, where terms and post_ids are listed. The various filtering methods work by listing either allowed or forbidden post ids in the query WHERE clause. Using the relevanssi_where hook you can…

Read more Using the relevanssi_where hook 27 Comments on Using the relevanssi_where hook