inc/rest/routes/TermRoutes.php
@@ -409,9 +409,12 @@ $formatted_terms[] = [ 'id' => $term->term_id, 'name' => $term->name, 'slug' => $term->slug, 'parent' => $term->parent, 'path' => $this->getTermPath($term->term_id, $term->name, $taxonomy), 'hasChildren' => $has_children, 'taxonomy' => $term->taxonomy, 'count' => $term->count, ]; }