Changes between Initial Version and Version 1 of Ticket #54853, comment 1
- Timestamp:
- 01/19/2022 05:44:58 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54853, comment 1
initial v1 1 1 The function we check that we are NOT viewing the admin area, that we ARE constructing the main query and that we ARE making a search. 2 2 {{{ 3 3 add_filter('posts_search', 'my_search_is_exact', 20, 2); 4 4 function my_search_is_exact($search, $wp_query){ … … 33 33 34 34 } 35 }}}