How does the walker class in WordPress work?

Does anybody understand how the walker class in WordPress works? What is it? How does it work?

Related posts

Leave a Reply

2 comments

  1. It walks a tree structure in a database, for example, the Category hierarchy and spits out HTML that represents it.

    Look in wordpress/wp-include/classes.php at the Walker_Category class for an example.