Used By
| Used By | Description | 
|---|---|
| wp-includes/category-template.php: get_the_category() | Retrieves post categories. | 
Filters the array of categories to return for a post.
(WP_Term[]) An array of categories to return for the post.
(int|false) ID of the post.
| Version | Description | 
|---|---|
| 4.4.0 | Added $post_idparameter. | 
| 3.1.0 | Introduced. | 
    © 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/hooks/get_the_categories