I am creating a plugin on a new, clean install of WP.
I have the following code: http://pastebin.com/JgaxrGb8
And nothing else (except a flush_rewrite_rules in the activation hook).
When activating the plugin, the Product Post Type shows up as a menu option and the Product category Taxonomy also shows up in that menu. The Product type and the Product tag however do not.
As far as I can see, all the code is the same? I must be missing something. Can anyone help me out as to why only the second registered taxonomy gets “registered”?
- The topic ‘only one register_taxonomy works when defining multiple’ is closed to new replies.