Understanding the Walker Class

Shared by
Published
Genre
Web Development

External source

code.tutsplus.com External website

You are viewing the Vahuk Story page. The link above opens the shared source website.

The walker class is an abstract class designed to help traverse and display elements which have a hierarchical (or tree like) structure. It doesn’t actually ‘do’ (in the sense of generating HTML) anything. It simply traces each branch of your tree: it has to be extended by other classes which tell it what to do for each element it comes across. WordPress provides its own extending classes, such as:

Community reactions

Karma 19.5

1 reactions

Start the discussion

Discussion

0 comments

No comments yet. Be the first to join the discussion.

Leave a Reply

Your email will not be published.