WordPress at a glance
function is not described

wp_get_post_cats() WP 1.0.1

Deprecated from version 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.

No Hooks.

Return

Array. Null. Nothing.

Usage

wp_get_post_cats( $blogid, $post_ID );
$blogid(int)
Not Used
$post_ID(int)
-

Notes

  • See: wp_get_post_categories()

Changelog

Since 1.0.1 Introduced.
Deprecated Since 2.1.0 Use wp_get_post_categories()

Code of wp_get_post_cats() WP 5.7

<?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);
}