Here, $terms shows me the id. It is correct.
get_term_link shows me the url of tag. It is correct also.
But I couldn’t get the tag name or other information. What is wrong with this, what should I do? Thank you.
From the looks of things you are only returning the term ID, it’s one of the settings for a taxonomy field. To get the other information you need to set the return value to Term Object. This may alter how you call some of the other functions because you’ll get the entire object rather than just the ID
Thank you. I am looking for the “return value to Term object” in Google, but I couldn’t understand the operation logic of php codes. May I ask you to help me with the codes, please? Maybe just a little code, but I couldn’t do it.