Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
get current term id
Vynce
Programming language:
PHP
2021-06-04 11:14:13
0
Q:
get current term id
user62171
Code:
PHP
2021-01-25 12:22:25
<?php $current_term = get_queried_object()->term_id; ?>
1
novice
Code:
PHP
2021-05-29 22:11:38
get_queried_object()->term_id;
0
Tags
get
Related
wp query get ids
get wordpress id
get term id
Get the content of a specific page (by ID)
get_the_id wordpress
wp get post content by id
get id of record created
New to Communities?
Join the community