Created
September 9, 2012 00:21
-
-
Save bmsterling/3681506 to your computer and use it in GitHub Desktop.
Wordpress: Add vars so that you can use get_query_var
This file contains hidden or 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
add_filter('query_vars', 'add_queryvars' ); | |
function add_queryvars( $qvars ){ | |
$qvars[] = '_m'; | |
return $qvars; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment