过滤前缀,指示应从结果中排除搜索词。
原型
apply_filters( 'wp_query_search_exclusion_prefix', string $exclusion_prefix )
参数
$exclusion_prefix
(string)
前缀。默认’ – ‘。返回空值会禁用排除项。
源文件
路径:wp-includes/class-wp-query.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_query_search_exclusion_prefix/