If I know the current post id that i have in the variable $pid
I use $terms = get_the_terms($pid, 'custom_category');
How do I get just the term id/term_taxonomy_id
if I var_dump $terms I see what I want...but I have no idea how the heck to return just the id, not an array, just the id.
Bare in mind...I less than 1/2 know what I'm doing...just face rolling keyboard to get what I want...but learning more everyday.
Cheers,
Brian