Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
    
See "solution" answer why I choose to close vote that one. –  kaiser Oct 28 '13 at 17:26
add comment

marked as duplicate by kaiser, t f, 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.

2 Answers

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
add comment

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. –  Fahd Murtaza Jun 12 '11 at 21:45
add comment

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