wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_get_post_categories › WordPress Function
Since2.1.0
已弃用n/a
› wp_get_post_categories ( $post_id = 0, $args = array() )
| 参数: (2) |
|
| 查看: | |
| 返回: |
|
| 定义在: |
|
| 文档: |
Retrieves 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.Related Functions: wp_set_post_categories, wp_get_post_cats, wp_get_post_terms, wp_get_ability_categories, wp_list_categories