wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
walk_category_tree › WordPress Function
Desde2.1.0
Obsoleton/a
› walk_category_tree ( $args )
Parâmetros: |
|
Usos: |
|
Ver: |
|
Retorna: |
|
Definido em: |
|
Codex: | |
Log de mudanças: |
|
Retrieves HTML list content for category list.
Funções relacionadas: walk_category_dropdown_tree, walk_page_tree, has_category, get_category_template, walk_nav_menu_tree
Fonte
function walk_category_tree( ...$args ) { // The user's options are the third parameter. if ( empty( $args[2]['walker'] ) || ! ( $args[2]['walker'] instanceof Walker ) ) { $walker = new Walker_Category(); } else { /** * @var Walker $walker */ $walker = $args[2]['walker']; } return $walker->walk( ...$args ); }