WordPress at a glance
function is not described

Walker_Category::end_el() public WP 2.1.0

Ends the element output, if needed.

{} It's a method of the class: Walker_Category{}

No Hooks.

Return

null. Nothing.

Usage

$Walker_Category = new Walker_Category();
$Walker_Category->end_el( $output, $page, $depth, $args );
$output(string) (required) (passed by reference — &)
Used to append additional content (passed by reference).
$page(object) (required)
Not used.
$depth(int)
Depth of category. Not used.
$args(array)
An array of arguments. Only uses 'list' for whether should append to output. See wp_list_categories().
Default: empty array

Notes

Changelog

Since 2.1.0 Introduced.

Code of Walker_Category::end_el() WP 5.7.2

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

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