posts_search filter. Props skeltoac. see #10667

git-svn-id: https://develop.svn.wordpress.org/trunk@13037 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-02-09 16:38:05 +00:00
parent 9d74c95ed8
commit 153659240c
1 changed files with 1 additions and 0 deletions

View File

@ -1765,6 +1765,7 @@ class WP_Query {
$search .= " AND ($wpdb->posts.post_password = '') ";
}
}
$search = apply_filters('posts_search', $search, $this);
// Category stuff