Add An Activity Filter By User Id In Buddypress Plugin

by Matt   Last Updated June 12, 2019 03:08 AM

On the Buddypress activity page, you can filter by All Members, Favorites, Mentions, ect…

How do I add a filter to only show updates from a specific user id?

There is for the "All Member" filter html below. How can I change that to a specific user id/ and the js needed?

<li id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'youzer' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li>

Related Questions

Updated April 04, 2015 19:03 PM

Updated June 16, 2015 05:03 AM

Updated April 08, 2016 08:03 AM

Updated May 13, 2016 08:03 AM

Updated February 10, 2017 14:03 PM