How do you remove the BuddyPress profile ‘last active’ status?

0
0

Adding the code below to my bp-custom.php file removed the last active status on one of my sites

add_filter( 'bp_nouveau_get_member_meta', 'ps_remove_last_active',10,3 );
function ps_remove_last_active ( $meta, $member, $is_loop ){
	$meta['last_activity'] = '';
	return $meta;
}

https://buddypress.org/support/topic/remove-last-active-status/

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website