wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_set_post_cats is deprecated since version 2.1.0!
Alternative: Ver página de detalhe para wp_set_post_categories »" href="https://pt.wpseek.com/function/wp_set_post_categories/">wp_set_post_categories()
Alternative: Ver página de detalhe para wp_set_post_categories »" href="https://pt.wpseek.com/function/wp_set_post_categories/">wp_set_post_categories()
wp_set_post_cats › WordPress Function
Desde1.0.1
Obsoleto2.1.0
› wp_set_post_cats ( $blogid = '1', $post_id = 0, $post_categories = array() )
Parâmetros: (3) |
|
Ver: | |
Retorna: |
|
Definido em: |
|
Codex: |
Sets the categories that the post ID belongs to.
Funções relacionadas: wp_get_post_cats, wp_set_post_tags, wp_set_post_terms, wp_set_post_categories, wp_get_post_tags