Hi Long,
thanks a lot for your quick answer!
As mentioned in the documentation that you've linked (and that I had checked before writing you), get_query_var ONLY SUPPORT STANDARD WORDPRESS QUERY VARS, and NOT my custom query vars like "zrole":
get_query_var() only retrieves public query variables that are recognized by WP_Query. This means that if you create your own custom URLs with their own query variables, get_query_var() will not retrieve them without some further work (see below).
I want to AVOID writing a custom function and adding it to functions.php to keep all the code nicely together in the MB View.
So I tried mb.get_query_var, but it doesn't give me my custom query var because of the above-stated reasons.
Is there a way to access the PHP $_GET function via the MB. proxy or another way to access the custom query var WITHOUT adding something to functions.php?
Thanks again,
Dominik