Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wpf_filter_queries_standard_for_search( $mode, $query ) {
- if ( $query->is_search() ) {
- $mode = 'standard';
- }
- return $mode;
- }
- add_filter( 'wpf_query_filtering_mode', 'wpf_filter_queries_standard_for_search', 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement