Codex tools: Log in / create account
Contents |
Retrieve the list of categories for a post.
Compatibility layer for themes and plugins. Also an easy layer of abstraction away from the complexity of the taxonomy layer.
<?php wp_get_post_categories( $post_id, $args ) ?>
Since: 2.1.0
wp_get_post_categories() is located in wp-includes/post.php.