Walker_Page
- Since
- 2.1.0
- Source
wp-includes/class-walker-page.php:17
Core walker class used to create an HTML list of pages.
Compatibility
- WordPress
- since 2.1.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Hooks and filters fired · 3
Every hook that fires from inside Walker_Page, in the order it appears in the class, grouped by the method that fires it.
Walker_Page::start_el()
- apply_filters( page_css_class )filter line 159
- apply_filters( page_menu_link_attributes )filter line 190
- apply_filters( the_title )filter line 206
Properties · 2
$tree_typestringpublic- What the class handles.
$db_fieldsstring[]public- Database fields to use.
Methods · 4
- start_lvl()Outputs the beginning of the current level in the tree before elements are output.
- end_lvl()Outputs the end of the current level in the tree after elements are output.
- start_el()Outputs the beginning of the current element in the tree.
- end_el()Outputs the end of the current element in the tree.
Changelog
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/class-walker-page.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.