Add 'rewrite' Parameter to Register Post Type WP Action

It’s my understanding that the post_type key should use an underscore, but any two word PT I use would require the dash for the slug. It would be great if we could assign/update the rewrite parameters with the PG WP action. -Thanks

2 Likes

Yes i agree. Or let us use - in the post type name. :wink:

1 Like

Using ‘-’ in the post type name will screw you down the road when you need to make a wp_query. I’ve made this mistake more often than I care to admit!

I would also love to see this parameter added; it’s the only thing keeping me from being able to use the Register Post Type action in production.