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: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Retrieves all taxonomy names for the given post.