Description
Filters the prefix that indicates that a search term should be excluded from results.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp-query.php | 1460 |
Parameters
Type | Name | Description |
---|---|---|
string | $exclusion_prefix | The prefix. Default '-'. Returning an empty value disables exclusions. |
PHP Doc
/**
* Filters the prefix that indicates that a search term should be excluded from results.
*
* @since 4.7.0
*
* @param string $exclusion_prefix The prefix. Default '-'. Returning
* an empty value disables exclusions.
*/