code: protected function add_post_type_archive_links()
      {
          $post_type = \get_query_var('post_type');
          $post_type_link = (\get_post_type_archive_link($post_type) ?: '');
          $post_type_label = \post_type_archive_title('', false);
  
          $this->links[] = $this->currentLink($post_type_label, $post_type_link);
      }
docs: Called if $page === 'post_type_archive'