Does anybody understand how the walker class in WordPress works? What is it? How does it work?
Leave a Reply
You must be logged in to post a comment.
Does anybody understand how the walker class in WordPress works? What is it? How does it work?
You must be logged in to post a comment.
Good place to start: Function Reference/Walker Class « WordPress Codex
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 theWalker_Category
class for an example.