register_post_type() changes registered query_vars..?
-
I have a fairly robust JSON web service setup by add_rewrite_endpoint(‘meta’). Whenever I have another plugin call “register_post_type()” on activation, it turns my nice endpoint on it’s head. My ‘meta’ query_var gets converted to a ‘category_name’.
I’m dealing with by checking that the query var exists or a category_name is set with the same name as the endpoint being referenced. The problem with this, is that it introduces potential namespace conflicts but I suppose I will live with it for now.
Has anyone else dealt with this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘register_post_type() changes registered query_vars..?’ is closed to new replies.