BBP_Walker_Reply::start_lvl( string $output = '', int $depth, array $args = array() )
Description Description
See also See also
Parameters 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 Source
File: includes/common/classes.php
public function start_lvl( &$output = '', $depth = 0, $args = array() ) { bbpress()->reply_query->reply_depth = (int) $depth + 1; switch ( $args['style'] ) { case 'div': break; case 'ol': $output .= "<ol class='bbp-threaded-replies'>\n"; break; case 'ul': default: $output .= "<ul class='bbp-threaded-replies'>\n"; break; } }
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |