Used By
Used By | Description |
---|---|
wp-includes/category-template.php: get_the_category_list() | Retrieves category list for a post in either HTML list or custom format. |
Filters the categories before building the category list.
(WP_Term[]) An array of the post's categories.
(int|bool) ID of the post we're retrieving categories for. When false
, we assume the current post in the loop.
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_category_list