WordPress.org

Ready to get started?Download WordPress

Forums

list_cat() arg's...too few? (3 posts)

  1. xmiinc
    Member
    Posted 9 years ago #

    Anybody notice that the list_cat() tag is packaged by WP with 17 default arguments, but the Wiki only lists 16. Any clues to what the 17th one is all about?

  2. Michael Bishop

    Posted 9 years ago #

    just looked at the codex, and from my count, it's listing 18, with the 18th being hierarchical , which is only 1.5 or higher. Perhaps that is the one.
    http://codex.wordpress.org/Template_Tags/list_cats

  3. xmiinc
    Member
    Posted 9 years ago #

    ...more: the function declaration in template-functions-category.php refers to 18 arguments. The 2 not included in the wiki are: categories (default '0') and recurse (default '0'). Not sure what the interplay with some of the other similar-sounding parameters are...?

    cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic