WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I'm am attempting to change the rewrite argument after it has been defined and passed as an argument for 'register_post_type' in a plugin. My issue is that I am utilizing a plugin that defines a custom post type. I can manually edit the rewrite argument in the plugin; however, doing so will mean that I have to do this every time the plugin updates. I was wondering if there is a way that I can change this with some code in another plugin or functions.php file.

I was thinking there might be a function that would allow me to alter these arguments or a way in which I could unregister and reregister the custom post type.

Any ideas?

share|improve this question

marked as duplicate by kaiser, tfrommen, toscho Oct 28 '13 at 18:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

See "solution" answer why I choose to close vote that one. – kaiser Oct 28 '13 at 17:26
up vote 1 down vote accepted

I had a very similar question and found the answer. Take a look, it might be helpful for You aswell: SOLVED: Change custom post type to hierarchical after being registered

share|improve this answer

Which plugin are you using? If you are using custom post UI this is possible. I can point to the right direction once I know which plugin are you using?

share|improve this answer
I'm using WP E-Commerce. I want to change the rewrite rule without touching the plugin. – tollmanz Jun 12 '11 at 20:57
May be the solution is defining new taxonomies for the custom post type defined by WP E-Commerce. – Fahad Jun 12 '11 at 21:45

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