Modify query_vars
-
Hi,
I want to filter wp_query->query_vars[“s”] because I need to adjust the search variable before I will utilize it with get_query_var(“s”).I need something like wp_query->query_vars[“s”] = strip_tags($_GET[“s”]);
What’s the right hook to filter query variables ?
Thanks!
- The topic ‘Modify query_vars’ is closed to new replies.