apply_filters( 'bbp_register_topic_taxonomy' )

Trash fix

Description

We need to remove the internal arg and change that to protected so that the users with ‘view_trash’ cap can view single trashed topics/replies in the front-end as wp_query doesn’t allow any hack for the trashed topics to be viewed.

Source

File: bp-forums/classes/class-bbpress.php

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.