I want to add an argument to a view. I want to set this argument programmatically (not by url).
The field i want to filter is not directly in the view query, because this is a field on a node reference, so I cannot use
How can i can add programmatically an argument to a view? I mean, which hook is better to do it?