0

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 1

0

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
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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