I was curious: when I create a custom taxonomy or post type, what new permastructure tags are auto generated and ready to use? It seems there are no docs about.
1 Answer
Ok one way to check them up is to log them somewhere after creating post types and taxonomies:
add_action('init','register_customs');
function register_customs(){
// [...] create types and tax
global $wp_rewrite;
// log $wp_rewrite somewhere
}