Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hello I have something like this in the url:

Using it on functions.php:

function add_query_vars($vars) {
   $vars[] = "var";
   return $vars;
add_filter('query_vars', 'add_query_vars');

But I need it:

How can get it?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.