Glossary Term
get_the_taxonomies()
get_the_taxonomies() — Retrieves all taxonomies associated with a post. This function can be used within the loop. It will also return an array of the taxonomies with links to the taxonomy and name.
Inputs: $post (int|WP_Post): Optional. Post ID or WP_Post object. Default is global $post. $args (array): Optional. Arguments about how to format the list of taxonomies. Default empty array. Field $template (string): Template for displaying a taxonomy label and list of terms. Default is “Label: Terms.” Field $term_template (string): Template for displaying a single term in the list. Default is the term name linked to its archive.
Returns string[]: List of taxonomies.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
