WordPress at a glance
function is not described

wp_get_post_cats() WP 1.0.1

Deprecated in 2.1.0. It is no longer supported and can be removed in future releases. Use wp_get_post_categories() instead.

Retrieves a list of post categories.

  • See: wp_get_post_categories()

No Hooks.

Return

Array.

Usage

wp_get_post_cats( $blogid, $post_ID );
$blogid(int)
Not Used
Default: '1'
$post_ID(int)

Default: 0

Code of wp get post cats: wp-includes/deprecated.php VER 5.0.3

<?php
function wp_get_post_cats($blogid = '1', $post_ID = 0) {
	_deprecated_function( __FUNCTION__, '2.1.0', 'wp_get_post_categories()' );
	return wp_get_post_categories($post_ID);
}