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


Since: 4.0.0

Table of Contents

Using this hook you can directly manipulate the search query itself. Please exercise caution when making changes here so as to not break functionality or introduce un-prepared clauses.


Type Parameter Default Since
Array $query Multidimensional array representing the query structure 4.0.0
Array $args
Key Type Value
args Array Arguments of the Query
values Array Placeholder values to be sent to $wpdb->prepare()
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