[wp-hackers] Rewrite API: add_base() ?
Dion Hulse (dd32)
wordpress at dd32.id.au
Mon Oct 5 03:54:56 UTC 2009
On Mon, 05 Oct 2009 09:11:22 +1100, Eric Martin <emartin24 at gmail.com>
wrote:
> I see this function on the codex[1], but can't find it in the code.
> Just curious if the codex is old/incorrect or if I am missing
> something ;)
>
> [1] http://codex.wordpress.org/Rewrite_API#add_base.28.29
By the future tense of the writing there, seems to suggest that was a
initial draft of what the Rewrite API should become..
I'm pretty sure theres no API to add what you're after though, Your best
bet is to use add_rewrite_rule('/my-base/([^/]+)/?', 'inde.... I think
--
--
Dion Hulse
e: contact at dd32.id.au
w: http://dd32.id.au/
WordPressQI: http://wordpressqi.com/
More information about the wp-hackers
mailing list