Used By
Used By | Description |
---|---|
wp-includes/class-wp-query.php: WP_Query::parse_search() | Generates SQL for the WHERE clause based on passed search terms. |
Filters the prefix that indicates that a search term should be excluded from results.
(string) The prefix. Default '-'. Returning an empty value disables exclusions.
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_query_search_exclusion_prefix