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

Ends the element output, if needed.


Description Description

See also See also


Top ↑

Parameters Parameters

$output

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

$page

(object) (Required) Not used.

$depth

(int) (Optional) Depth of category. Not used.

$args

(array) (Optional) An array of arguments. Only uses 'list' for whether should append to output. See wp_list_categories().

Default value: array()


Top ↑

Source Source

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

	public function end_el( &$output, $page, $depth = 0, $args = array() ) {
		if ( 'list' != $args['style'] ) {
			return;
		}

		$output .= "</li>\n";
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.