Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 1.0


View Parameters »

This hook is fired by the search algorithm before the index has been queried.


Parameter Type Description
$args Array

The query arguments

  • $args['terms'] The search term(s)
  • $args['engine'] The engine being used
  • $args['settings'] The engine settings
  • $args['page'] The pagination page
  • $args['postsPer'] The number of posts per page
Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP