Revisiting the get_tags() function