Get values from views exposed filter in hook_views_pre_view I would like to get the current values from an exposed filter in hook_views_pre_view().

For example, if the input filter has some value I would like to change de pager: number of items, the problem is how to get this value from views without using $_GET because I don't think it will work with views ajax.

What is the right way to get current exposed filters values from a view?
I've found it, there is a views method:

$input = $view-&gt;get_exposed_input();