Problem:
The user would like to exclude the child terms, in a taxonomy filter and only display the parent ones. The user would like to do the above for a view and an archive template.
Solution:
For taxonomy filters in posts views, prefer to use the wpv_filter_taxonomy_frontend_search_get_terms_args hook. Use something like: