Hi , i am retrieving my taxonomy advanced term id in group
$categoryUrl = $item['sample'] ?? '';
, but it returns as string NOT as int().
I was able to get term url afterwards using
$linkCat = get_term_link( (int)$categoryUrl, '' );
But there is no mentioning of this in documentation and got me confused.
So please either add explanation of this behaviour or explain to my why did it happen ?