Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity stream filter


  • tronix-ex
    Participant

    @tronix-ex

    Hi Support,

    Please help I am using the below function for Site Wide Activity and its working fine but it also filtering the single Members profile activity which is I don’t want.

    add_action('bbp_new_reply', 'bpt_reply_activity');
    
    function filtering_activity_default( $query ) {
      if ( empty( $query ) && empty( $_POST ) ) {
        $query = 'action=new_forum_topic,new_forum_post';
      }
      return $query;
    }

    need your quick response.

    Thanks,

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