BP_Walker_Category_Checklist::end_lvl( string $output, int $depth, array $args = array() )

Ends the list of after the elements are added.

Description

Parameters

$output

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

$depth

(Required) Depth of category. Used for tab indentation.

$args

(Optional) An array of arguments.

Default value: array()

Source

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

41
42
43
44
public function end_lvl( &$output, $depth = 0, $args = array() ) {
    $indent = str_repeat( "\t", $depth );
    $output .= "$indent</ul>\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.