Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity stream queries as objects

  • @ronant

    Participant

    Hi,

    Sorry this question has been asked, i didn’t found it.

    in bp_activities loop, i use the bp_activity_action() function to display last actions.

    To only display the item title, there is this function, “bp_activity_feed_item_title()”, but i would like to query bp_activity_action() as an object, to have a different control, something like the “get_the_category” of WordPress.

    Thanks for help.

Viewing 1 replies (of 1 total)
  • @godavid33

    Participant

    The following works for me.

    
    	do_action( 'bp_before_activity_loop' );
    	if ( bp_has_activities( bp_ajax_querystring( 'activity' )."&scope=groups") ) :
    		$group_activites = $activities_template->activities; 
    	endif;
    	do_action( 'bp_after_activity_loop' ); 
    

    I know you probably figured it out at this point, but I’m putting the answer here in case somebody else stumbles upon it.

Viewing 1 replies (of 1 total)
  • The topic ‘Activity stream queries as objects’ is closed to new replies.
Skip to toolbar