get query’s query string

Take a look at global $query_string;.

Or var_dump( $GLOBALS['wp_query'] );.

Leave a Comment