get_the_taxonomies


get_the_taxonomies ( $post = 0, $args = array() )

Parameters:
  • (int|WP_Post) $post Optional. Post ID or WP_Post object. Default is global $post.
  • (array) $args { Optional. Arguments about how to format the list of taxonomies. Default empty array.
Returns:
  • (array) List of taxonomies.
Defined at:

Description

Retrieve 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.

Related Functions

the_taxonomies, get_taxonomies, get_post_taxonomies, get_attachment_taxonomies, get_object_taxonomies

Top Google Results

User discussions

wpseek mobile