This database has information for all major versions from WP 1.2.1 through 4.4.
|5.1||wp-includes/rest-api/search/class-wp-rest-post-search-handler.php||81||View in context||filter|
|5.2||wp-includes/rest-api/search/class-wp-rest-post-search-handler.php||81||View in context||filter|
|5.3||wp-includes/rest-api/search/class-wp-rest-post-search-handler.php||83||View in context||filter|
|5.4||wp-includes/rest-api/search/class-wp-rest-post-search-handler.php||83||View in context||filter|
|5.5||wp-includes/rest-api/search/class-wp-rest-post-search-handler.php||83||View in context||filter|
|5.6||wp-includes/rest-api/search/class-wp-rest-post-search-handler.php||83||View in context||filter|
|5.7||wp-includes/rest-api/search/class-wp-rest-post-search-handler.php||83||View in context||filter|
This hook does not occur in the most recent version of WordPress (4.4). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.
We find related hooks using word stems. rest_post_search_query has 4 significant word stem(s):
query. Note that some of the hooks below may not appear in all versions of WP.