reused get_tax_items function from function.php