wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_query_search_exclusion_prefix › WordPress Filter Hooks

Seit4.7.0
Veraltetn/v
apply_filters( 'wp_query_search_exclusion_prefix', '-' )
Parameter:
  • () exclusion_prefix The prefix. Default '-'. Returning an empty value disables exclusions.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the prefix that indicates that a search term should be excluded from results.





Quellcode

$exclusion_prefix = apply_filters( 'wp_query_search_exclusion_prefix', '-' );