'Add custom taxonomy in tour-style.php of Tour Master by Goodlayers

I am adding a case grading in tour-style.php. But when I am fetching tourmaster_get_term_list, I am getting all taxonomy, I just want one which I have already added to tour. Here, what I am doing:

                    case 'grading':
                      
                      $s1= tourmaster_get_term_list('tour-difficulty');
                      foreach ($s1 as $key => $qw){
                          echo $qw;
                      }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source