Delete taxonomy terms of a specific level or superior

I had produced a code that automatically creates taxonomy terms when visitors visit my web site : i found out that thousands of terms had been created , cloaking my database. only solution was to use the following code to automatically delete terms of level >1

 

 

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *