Setting structure in code.
cptp_permalink_structure in argument of register_post_type.