I added a Language custom field ( a taxonomy term ) to my user entity and another entity (Activity).
This field can have 2 values, English and French. (User can have both, activity can only have one)
On the Activities view, i added an exposed filter (select) so the user can filter French or English activities.
Result :
I want to hide (or disable) this select if the user only has 1 Language.
How to properly achieve this ? i tried the pre_render hooks but i can't find the right one i guess.
Thank you.
you should try this hook: