Walker_Page::start_el

SummerySummery

Outputs the beginning of the current element in the tree.

Syntax

Walker_Page::start_el( string $output, WP_Post $page, int $depth, array $args = array(), int $current_page )

ParametersParameters

$output

(string) (Required) Used to append additional content. Passed by reference.

$page

(WP_Post) (Required) Page data object.

$depth

(int) (Optional) Depth of page. Used for padding. Default 0.

$args

(array) (Optional) Array of arguments.

Default value: array()

$current_page

(int) (Optional) Page ID. Default 0.

SourceSource

File: wp-includes/class-walker-page.php


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.

See alsoSee also

Scroll to Top