Create HTML dropdown list of bbPress forums/topics.

package bbPress
subpackage Classes
since 2.0.0 bbPress (r2746)

 Methods

Set the tree_type

__construct() 
since 2.0.0 bbPress (r2746)

start_el()

start_el(string $output, object $object, integer $depth = 0, array $args = array(), integer $current_object_id = 0
see
since 2.0.0 bbPress (r2746)

Parameters

$output

string

Passed by reference. Used to append additional content.

$object

object

Post data object.

$depth

integer

Depth of post in reference to parent posts. Used for padding.

$args

array

Uses 'selected' argument for selected post to set selected HTML attribute for option element.

$current_object_id

integer

 Properties

 

$db_fields

$db_fields : array

Default

array('parent' => 'post_parent', 'id' => 'ID')
see
since 2.0.0 bbPress (r2746)
 

$tree_type

$tree_type : string

Default

'forum'
see
since 2.0.0 bbPress (r2746)