BP_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

(Required) Passed by reference. Used to append additional content.

$category

(Required) The current term object.

$depth

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

$args

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

Default value: array()

Source

File: bp-core/classes/class-bp-walker-category-checklist.php

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

Changelog

Changelog
Version Description
BuddyPress 2.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.