apply_filters( 'bp_get_user_last_activity', string $activity, int $user_id )

Filters the last activity for a given user.

Description

Parameters

$activity

(string) Time of last activity, in 'Y-m-d H:i:s' format or an empty string if none found.

$user_id

(int) ID of the user being checked.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.9.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.