get_post_taxonomies


get_post_taxonomies ( $post = 0 )

Parameters:
  • (int|WP_Post) post Optional. Post ID or WP_Post object. Default is global $post.
Returns:
  • (string[]) An array of all taxonomy names for the given post.
Defined at:

Description

Retrieves all taxonomy names for the given post.

Related Functions

get_the_taxonomies, get_object_taxonomies, get_taxonomies, get_post_states, get_post_time

Top Google Results

User discussions

wpseek mobile