In order to modify the where condition of a views query we use hook_views_query_alter. This hook should be placed in your custom module. //Here, we are going to ...