wpseek.com
A WordPress-centric search engine for devs and theme authors
terms_pre_query › WordPress Filter Hooks
Since5.3.0
Deprecatedn/a
› apply_filters_ref_array( 'terms_pre_query', array( $this->terms, &$this )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters the terms array before the query takes place.
Return a non-null value to bypass WordPress' default term queries.
Related Functions: the_search_query, wp_reset_query, register_block_core_query, render_block_core_query, remove_query_arg, get_search_query
Related Hooks: sites_pre_query, networks_pre_query, parse_term_query, rest_term_search_query, the_search_query