WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_query_search_exclusion_prefix

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-query.php apply_filters 1421 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
string $exclusion_prefix The prefix. Default '-'. Returning