Walker_Category_Checklist::end_el( string $output, WP_Term $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

(WP_Term) (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–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/walker_category_checklist/end_el