wpseek.com
A WordPress-centric search engine for devs and theme authors
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
Deprecated2.1.0
› wp_set_post_cats ( $blogid = '1', $post_id = 0, $post_categories = array() )
Parameters: (3) |
|
See: | |
Returns: |
|
Defined at: |
|
Codex: |
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_set_post_lock