apply_filters( 'bp_get_last_activity', string $value , int $user_id )
Filters the ‘active [x days ago]’ string for a user.
Description Description
Parameters Parameters
- $value
-
Formatted 'active [x days ago]' string.
- $user_id
-
ID of the user.
Source Source
File: bp-members/bp-members-template.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Added the $user_id parameter. |
1.5.0 | Introduced. |