Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there an equivalent to 'rake routes' in php/wordpress that would spit out all the available wordpress url paths available?

share|improve this question
1  
No, there is not. –  vancoder Jun 25 '13 at 23:42
add comment

1 Answer

up vote 0 down vote accepted
var_dump( $GLOBALS['wp_rewrite'] );

this is as close as you'll get.

Anyway, there're plugins like the "MonkeyMan Rewrite Analyzer" and toschos T5 Rewrite plugins that will allow you other nice things too.

share|improve this answer
    
that's pretty close actually - very nice, thanks! –  shanaver Jun 26 '13 at 19:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.