the_taxonomies
the_taxonomies ( $args = array() )
Parameters:- (array) args {
Arguments about which post to use and how to format the output. Shares all of the arguments
supported by get_the_taxonomies(), in addition to the following.
@type int|WP_Post $post Post ID or object to get taxonomies of. Default current post.
@type string $before Displays before the taxonomies. Default empty string.
@type string $sep Separates each taxonomy. Default is a space.
@type string $after Displays after the taxonomies. Default empty string.
}
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Displays the taxonomies of a post with available options.This function can be used within the loop to display the taxonomies for a
post without specifying the Post ID. You can also use it outside the Loop to
display the taxonomies for a specific post.