I have added 1 view display into my view's footer via "
Global: View area | The view to insert into this area." and a regular "
Global: Text area".
So my view has 2 footer displays, one being another view display and the other a normal text area.
Now I want to unset/hide either one of the footer display based on a condition, perhaps via hook_views_pre_render()
I was expecting to find documentation on something like:
But obviously that is not the way to go. Is it possible to accomplish that via hook_views_pre_render() or any other means? If so, how?