Continue reading How to disable Relevanssi

How to disable Relevanssi

If you need to disable Relevanssi, for example for a particular template, all you need to do is to unhook two filter hooks: remove_filter(’posts_request’, ‘relevanssi_prevent_default_request’); remove_filter(’the_posts’, ‘relevanssi_query’, 99);remove_filter(‘posts_request’, ‘relevanssi_prevent_default_request’); remove_filter(‘the_posts’, ‘relevanssi_query’, 99); Removing these two filters disables Relevanssi.

Read more How to disable Relevanssi 15 Comments on How to disable Relevanssi