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 www.wpbeginner.com #
 
PREVIOUS NEXT
Tagged: #How #I #current #taxonomy
ADD COMMENT
Topic
Name
6+9 =