get_current_term() public méthode

Return the current term taxonomy ID for the given site and the given term ID in the current site.
public get_current_term ( integer $site_id, integer $term_id ) : integer
$site_id integer Blog ID.
$term_id integer Term ID of the currently edited term.
Résultat integer
 /**
  * @param  int $site_id
  * @return int
  */
 private function get_current_term($site_id)
 {
     if (empty($_GET['tag_ID'])) {
         return 0;
     }
     return $this->presenter->get_current_term($site_id, (int) $_GET['tag_ID']);
 }