W3cubDocs

/WordPress

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

Ends the element output, if needed.

Description

See also

Parameters

$output

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

$category

(object) (Required) The current term object.

$depth

(int) (Required) Depth of the term in reference to parents. Default 0.

$args

(array) (Optional) An array of arguments. @see wp_terms_checklist()

Default value: array()

Source

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

public function end_el( &$output, $category, $depth = 0, $args = array() ) {
		$output .= "</li>\n";
	}

Changelog

Version Description
2.5.1 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/walker_category_checklist/end_el