Definition:
function the_category( $separator = '', $parents='', $post_id = false ) {}
Display the category list for the post.
Parameters
- string $separator: Optional, default is empty string. Separator for between the categories.
- string $parents: Optional. How to display the parents.
- int $post_id: Optional. Post ID to retrieve categories.
Source code
function the_category( $separator = '', $parents='', $post_id = false ) { echo get_the_category_list( $separator, $parents, $post_id ); }
2985
No comments yet... Be the first to leave a reply!