Retrieves a list of post categories.
Description
See also
Parameters
$blogid
intoptional- Not Used
Default:
'1'
$post_id
intrequired
Source
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);
}
Changelog
Version | Description |
---|---|
2.1.0 | Use wp_get_post_categories() |
1.0.1 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.