Answer the question
In order to leave comments, you need to log in
How to get term knowing only its slug?
Is it possible to get data about a term with only its slug?
The most suitable thing I found is the function get_term_by( $field, $value, $taxonomy, $output, $filter );
But the taxonomy is unknown to me, nothing comes out.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question