Rest_BBP_Walker_Reply::start_lvl( string $output = '', int $depth, array $args = array() )

Description

See also

Parameters

$output

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

Default value: ''

$depth

(Required) Depth of reply

$args

(Optional) Uses 'style' argument for type of HTML list

Default value: array()

Source

File: bp-forums/classes/class-bp-rest-bbp-walker-reply.php

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

Changelog

Changelog
Version Description
2.4.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.