Skip to content

Commit 93c9463

Browse files
author
Muhammad Haris
committed
Search for any posts type by default.
1 parent fff961b commit 93c9463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class-wds-react-post-search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function add_post_types_to_query( $args, $request ) {
314314
public function post_types_to_search() {
315315

316316
$post_types = array(
317-
'post',
317+
'any',
318318
);
319319

320320
$all_post_types = apply_filters( 'wds_react_post_search_filter_post_types', $post_types );

0 commit comments

Comments
 (0)