Created
October 9, 2014 16:27
-
-
Save mrpsiho/7997a1b9e2c1135f2f6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function uni_add_query_vars( $public_query_vars ) { | |
$public_query_vars[] .= 'metro'; | |
return $public_query_vars; | |
} | |
add_filter('query_vars', 'uni_add_query_vars'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment