Created by: Epigrade
Remove parent taxonomy slug(s) from term permalinks for hyerarchical taxonomies. That means an URL like https://www.example.com/category/animals/dogs/german-shepherd/ becomes https://www.example.com/category/german-shepherd/.
https://www.example.com/category/animals/dogs/german-shepherd/
https://www.example.com/category/german-shepherd/