In Drupal 7 hiding content type from search results in your application is pretty simple. Hook node access alter will provide the interface to bypass the search result query.
1 |
hook_query_node_access_alter() |
Hide content-type For example if there is a content type called “some_type” in your application, which you don’t want to show in your search result … Continue Reading