wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
cat_is_ancestor_of › WordPress Function
Desde2.1.0
Obsoleton/a
› cat_is_ancestor_of ( $cat1, $cat2 )
Parâmetros: (2) |
|
Retorna: |
|
Definido em: |
|
Codex: |
Checks if a category is an ancestor of another category.
You can use either an ID or the category object for both parameters. If you use an integer, the category will be retrieved.Funções relacionadas: term_is_ancestor_of, get_post_ancestors, _get_post_ancestors, get_ancestors, has_custom_logo