Way to get last term of get_terms array in #wordpress