WPDev.one
Core Class

Walker_Page

class Walker_Page // Constructor: function Object() { [native code] }

Core walker class used to create an HTML list of pages.

Methods 4 methods

Method / Return Description
start_lvl()
void

Outputs the beginning of the current level in the tree before elements are output.

Parameters: $output: mixed, $depth: mixed, $args: mixed
end_lvl()
void

Outputs the end of the current level in the tree after elements are output.

Parameters: $output: mixed, $depth: mixed, $args: mixed
start_el()
void

Outputs the beginning of the current element in the tree.

Parameters: $output: mixed, $data_object: mixed, $depth: mixed, $args: mixed, $current_object_id: mixed
end_el()
void

Outputs the end of the current element in the tree.

Parameters: $output: mixed, $data_object: mixed, $depth: mixed, $args: mixed

Properties

Property / Type Description
$tree_type
mixed
public
No description available.
$db_fields
mixed
public
No description available.

Class Information

Since Version
2.1.0
Source File
wp-includes/class-walker-page.php
Advertisement