Build Term Relationship after wp_insert_term

Working on a project with migrating some data to a WordPress database I got my long and precise script up and running, but the data wasn't visible in the taxonomy list view in the admin - only the parent term there, few pages of data calculated (pagination on), but no data other than the parent. Luckily I found a cache wiping solution by Matt Thiessen (major props to the guy) who replied that a DB cache wipe could help by deleting the children option for the taxonomy in the DB, in a similar way (snippet from the link): [php] wp_insert_term(… Continue Reading