Hi There,
Glad this helps.
At the top of the previous reply, you can see this function get_breadcrumb_category() was added. It’s checking current post if there’s available category. If there is, it’s returning the category with the link else it’s just returning blank.
Hope this helps.