wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_set_post_cats is deprecated since version 2.1.0!
Alternative: wp_set_post_categories()
Alternative: wp_set_post_categories()
wp_set_post_cats › WordPress Function
Since1.0.1
已弃用2.1.0
› wp_set_post_cats ( $blogid = '1', $post_id = 0, $post_categories = array() )
参数: (3) |
|
查看: | |
返回: |
|
定义在: |
|
文档: |
Sets the categories that the post ID belongs to.
Related Functions: wp_get_post_cats, wp_set_post_tags, wp_set_post_terms, wp_set_post_categories, wp_get_post_tags