SearchWP

Hook Tags: sort

Customize the \SearchWP\Mods applied during a search. Note: There are some internal \SearchWP\Mods that may be present for the query. This hook does not allow filtration of those mission critical \SearchWP\Mods, only user-defined \SearchWP\Mods. See also searchwp\query\do_source_db_where for internals.

Want to make your search awesome right now?

More than 30,000 sites have chosen SearchWP!

You can utilize all of the content that’s gone unrecognized by native WordPress keyword search instantly with SearchWP.

Get SearchWP for just $99

  • Committed Support
    If you need help, support is fast, friendly, and here for you
  • Streamlined Setup
    Installation and setup that’s optimized for speed
  • Great Documentation
    Helpful, clear, and usable documentation is a priority

See what SearchWP customers have to say

  • “SearchWP searches custom attributes. This is what I needed primarily for my client.”

  • “My developer recommended this plugin as I quickly found out that WooCommerce was not properly finding products when I would put in a search term! I took him up on his recommendation and haven’t looked back! This is a great plugin! Love it!!”

  • “Search is sort of important to Google. It’s also essential to the users on your own site. If your users are searching for something on your site and don’t find it, they’re likely going to get upset and leave your site. SearchWP fixes everything.”