Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to exclude activity updates (ones users actually post) from a custom "ticker" I'm running. With the below code, I am only displaying activities where friendships are created. How do I add another argument to allow for another activity action to display?

<?php if ( bp_has_activities('action=friendship_created&max=5') ) : ?>
share|improve this question

closed as off-topic by kaiser Aug 4 '14 at 16:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 1 down vote accepted

<?php if ( bp_has_activities('action=new_forum_post,new_blog_comment,new_blog_post,friendship_created,joined_group,created_group,new_forum_topic') ) : ?>

Found the solution myself :)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.