Answers for "get current slug by id custom taxonomy wordpress"

PHP
1

get current term id

<?php $current_term = get_queried_object()->term_id; ?>
Posted by: Guest on April-02-2020
0

get term id

get_queried_object()->term_id;
Posted by: Guest on June-29-2020

Code answers related to "get current slug by id custom taxonomy wordpress"

Browse Popular Code Answers by Language