How to get the top most term (top ancestor) of a custom taxonomy child term?

I guess this function is what you are looking for -> get_ancestors()

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)