[wp-hackers] Rewrite endpoints
scribu
scribu at gmail.com
Tue Sep 1 01:03:35 UTC 2009
On Tue, Sep 1, 2009 at 2:55 AM, Austin Matzko <if.website at gmail.com> wrote:
> Perhaps, but the way it works currently is that you have to explicitly
> declare it as a query variable, by calling
> $wp->add_query_var('foobar').
>
That line is already included in $wp_rewrite->add_endpoint().
And foobar shows up in [query_vars] when it's not empty.
--
http://scribu.net
More information about the wp-hackers
mailing list