How to retrieve all WordPress terms attached to the Post and Other Post type? Assumed I don't know/don't care about the taxonomy, term name/term id etc, the only thing I know is post_id. Thank you.
|
feedback
|
|
There's a function specifically for this, it's called Unfortunately, you do need to care about the taxonomy. If you don't specify a taxonomy, it will return all of the "post_tags" terms:
| |||||
feedback
|
|
Hmm. You could try getting all taxonomies and getting all terms associated with the post ID and taxonomy.
I haven't had a chance to try this out myself. | |||||||
feedback
|