Walker::end_el( string $output, object $object, int $depth, array $args = array() )

Ends the element output, if needed.


Description

The $args parameter holds additional values that may be used with the child class methods.


Parameters

$output

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

$object

(object) (Required) The data object.

$depth

(int) (Required) Depth of the item.

$args

(array) (Optional) An array of additional arguments.

Default value: array()


Source

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

	public function end_el( &$output, $object, $depth = 0, $args = array() ) {}

Changelog

Changelog
Version Description
WP-2.1.0 Introduced.