Does anybody understand how the walker class in Wordpress works? What is it? How does it work?
+2
A:
Good place to start: Function Reference/Walker Class « WordPress Codex
songdogtech
2010-03-17 14:41:51
care to explain it more ? in more spesific study case or based your own implementation ?
justjoe
2010-03-18 14:08:21
I haven't actually used it, but the Wordpress docs, as well as the Wordpress forums are always good places to look for Wordpress specific questions (even though there are many here on SO): http://wordpress.org/search/walker+class?forums=1
songdogtech
2010-03-25 19:12:01
+1
A:
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.
Lolindrath
2010-03-25 11:49:52