Walker_Category::start_el

SummerySummery

Starts the element output.

Syntax

Walker_Category::start_el( string $output, object $category, int $depth, array $args = array(), int $id )

ParametersParameters

$output

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

$category

(object) (Required) Category data object.

$depth

(int) (Optional) Depth of category in reference to parents. Default 0.

$args

(array) (Optional) An array of arguments. See wp_list_categories().

Default value: array()

$id

(int) (Optional) ID of the current category. Default 0.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.

See alsoSee also

Scroll to Top