get_search_query_types — Get all available search query types.¶
Summary¶
- get_search_query_types()¶
Get all available search query types.
Plugins may add query types via the “search_query_types” filter. The keys should be the type’s GET query value and the respective values should be the human readable and internationalized version of the query type.
Plugins that add a query type must modify the select object via the “search_sql” hook to account for whatever custom search strategy they implement.
Returns: array