Set default filter for BuddyPress Activity

If you need to change the default activity filter from Everything to something else, you can do that easily.

Here is an example where I am setting the BuddyPress default activity filter to activity updates.

You can change that and set to anything else(Make sure you are using a valid filter key). ┬áThe important thing to remember here is that you will see the ‘bp-activity-filter’ to the update you want to see as default.

Have fun!

3 Responses to Set default filter for BuddyPress Activity

  • Hello,

    Will this snippet affect only the site wide activity page, I don’t want it to affect members activity.

    • Members activity filter should = everything
      Site wide activity filter should = updates only

  • Please change this


    and it will work as expected.

Leave a Reply

Are you looking for support?

Please ask support questions in BuddyDev Forum and help us serve you better. Please use comment for general discussion/feature suggestions.

Your email address will not be published. All the fields marked as * are required.

If you are posting code, please use <pre> { Your Code Block } </pre>. Example:- <pre> echo $name; </pre>

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">