2020-05-02 / 3797阅 / 悠然
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.
(int|WP_Post)
(Optional)
Post ID or WP_Post object. Default is global $post.
(array)
(Optional)
Arguments about how to format the list of taxonomies.
Default value: array()
(array) List of taxonomies.