Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get term id by post id

INSIDE TAXONOMY PAGES
$term      = get_queried_object();
$term_id   = $term->term_id;
 
PREVIOUS NEXT
Tagged: #term #id #post #id
ADD COMMENT
Topic
Name
7+3 =