Add hooks to filter the results by different post_types and custom search results