I have a views with exposed filter of taxonomy terms (select). It have multiple choice, and nodes output with that terms. But I want to change output of result of views for this filter. How can I do it programmatically?
1 Answer
It depends on what exactly you want to accomplish, some commonly used hooks are:
- hook_views_query_alter
- hook_views_pre_render
- hook_views_pre_view
- There plenty of hooks to programmatically affect the results in the Views API
Also there are plenty of Views Plugins like the Row Plugins