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

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


Parameters Parameters

$value

(string) Formatted 'active [x days ago]' string.

$user_id

(int) ID of the user.


Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Added the $user_id parameter.
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.