wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_get_post_categories › WordPress Function
Desde2.1.0
Obsoleton/a
› wp_get_post_categories ( $post_id = 0, $args = array() )
Parâmetros: (2) |
|
Ver: | |
Retorna: |
|
Definido em: |
|
Codex: |
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.Funções relacionadas: wp_set_post_categories, wp_get_post_cats, wp_get_post_terms, wp_list_categories, wp_get_post_tags