get a replies parent forum
I need a way to find out what a replies parent forum is.
Reason is because I have created members only forums in a specific way by integrating DAP (Digital Access Pass) conditional functions. All of this is working great but my problem is with the search function of bbpress.
I need to filter the search so it doesn’t display replies that are under members only forums.
So like, IF REPLY_ID IS CHILD OF FORUM_NAME-OR-ID, REPLY = MEMBERS-ONLY-REPLY.
I don’t mind if it displays topics but I do not want people to see replies that are under members only forums if they are not a member.
So I think the file I need to play with is loop-search-reply.php but I need some help with figuring out the code to do this.
Thanks in advance to anyone who can help
You must be logged in to reply to this topic.