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


Description Description

See also See also


Top ↑

Parameters Parameters

$output

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

Default value: ''

$depth

(Required) Depth of reply

$args

(Optional) Will only append content if style argument value is 'ol' or 'ul'

Default value: array()


Top ↑

Source Source

File: includes/common/classes.php

	public function end_lvl( &$output = '', $depth = 0, $args = array() ) {
		bbpress()->reply_query->reply_depth = (int) $depth + 1;

		switch ( $args['style'] ) {
			case 'div':
				break;
			case 'ol':
				$output .= "</ol>\n";
				break;
			case 'ul':
			default:
				$output .= "</ul>\n";
				break;
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.