apply_filters( 'bp_get_last_activity', string $value, int $user_id )

Filters the ‘active [x days ago]’ string for a user.

Description

Parameters

$value

Formatted 'active [x days ago]' string.

$user_id

ID of the user.

Source

File: bp-members/bp-members-template.php

Changelog

Changelog
Version Description
BuddyPress 1.5.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.