Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How do I get current taxonomy "term id" on wordpress?

$obj = get_queried_object();
echo $obj->term_id;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #current #taxonomy
ADD COMMENT
Topic
Name
9+1 =