function get_tag_name($id) {
  $id = (int) $id;
  global $wpdb;
  $nombre = $wpdb->get_var("SELECT name FROM $wpdb->terms WHERE term_id='$id'");
  return $nombre;
}

 

Submit your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home2/bredecl/public_html/wp-includes/functions.php on line 4757