code: protected function add_tax_links()
      {
          $tax_slug = \get_query_var('taxonomy');
          $term_slug = \get_query_var('term');
          $term = \get_term_by('slug', $term_slug, $tax_slug);
          $term_id = \absint($term->term_id);
          $term_parent_id = \absint($term->parent);
  
          $tax_links = [];
  
          if ($term_parent_id) {
              while ($term_parent_id) {
                  $term_parent = \get_term_by(
                      'id',
                      $term_parent_id,
                      $term->taxonomy
                  );
                  $tax_links[] = $this->makeLink(
                      $term_parent->name,
                      $this->getTermLink(
                          \absint($term_parent->term_id),
                          $term->taxonomy
                      )
                  );
                  $term_parent_id = \absint($term_parent->parent);
              }
  
              $this->links = \array_merge(
                  $this->links,
                  \array_reverse($tax_links)
              );
          }
  
          $this->links[] = $this->currentLink(
              $term->name,
              $this->getTermLink($term_id, $tax_slug)
          );
      }
docs: Called if $page === 'tax'