Programatically inserting terms doesn’t update the Taxonomy admin UI

Try

clean_term_cache();
clean_object_term_cache();

Leave a Comment