Core Function
View Source on Trac ↗ wp_get_post_cats()
wp_get_post_cats( mixed $blogid = '1', mixed $post_id = 0 ) Retrieves a list of post categories.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $blogid int | Not Used |
| int | $post_id Required |
Return Value
(array)
array
Function Information
Since Version
1.0.1
Source File
wp-includes/deprecated.php
Advertisement