How to remove links from suggestions?

After clicking a suggestion or hitting enter/return, the customer will be redirected to a new page – the results page. You can disable links in suggestions using the following filter. This solution works with FiboSearch v1.9.1 and higher. You can add this snippet in two ways:

  1. Open the functions.php file in your child theme and add the code at the end
  2. Or install the Code Snippets plugin and apply this code as a snippet.
add_filter('dgwt/wcas/scripts/disable_hits', '__return_true');