Create WordPress category dynamically

When the plugin is activated, you can activate the custom taxonomy creation code.

You can create a scenario like this.

Plugin activated – Custom Taxonomy created – Category information is imported via the xml file you created before


You can export your taxonomy data (Tools – Export) and u have xml file.

And than follow this import code

https://stackoverflow.com/questions/19902413/how-import-xml-data-into-wordpress-programatically