Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to query recently active topics from user subscribed forums?

  • @8ball106

    Participant

    Hello!

    Here’s what I’m trying to achieve..

    When user is logged in, I want to display topic activity from all forums user is subscribed to. I can live without paginated pages, so it can be for example, 10 recently active topics from all subscribed forums.

    With this I can get a list of user subscribed forums:

    $current_user = wp_get_current_user();
    
    if ( bbp_get_user_forum_subscriptions( $current_user->ID ) ) {
    
    bbp_get_template_part( 'loop', 'forums' );
    
    }

    So how to query recently active topics from currently logged in user subscibed forums?

    I hope somebody can help me out with this. Thank you!

Viewing 1 replies (of 1 total)
  • @nikhilnaik

    Participant

    Hello @8ball106,

    I was looking for this code! I want to know the forums that user is subscribed to! Can you tell me how do I use this code to view the user’s subscribed forums?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar