BBP_Replies_Admin::filter_dropdown()
Add forum dropdown to topic and reply list table filters
Description Description
Return Return
(bool) False. If post type is not topic or reply
Source Source
File: includes/admin/replies.php
public function filter_dropdown() {
// Get which forum is selected
$selected = ! empty( $_GET['bbp_forum_id'] )
? (int) $_GET['bbp_forum_id']
: 0;
// Show the forums dropdown
bbp_dropdown( array(
'selected' => $selected,
'show_none' => esc_html__( 'In all forums', 'bbpress' )
) );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |