do_action( 'bp_core_user_updated_last_activity', int $user_id, string $time )

Fires when a user’s last_activity value has been updated.

Description

Parameters

$user_id

(int) ID of the user.

$time

(string) Last activity timestamp, in 'Y-m-d H:i:s' format.

Source

File: bp-core/classes/class-bp-core-user.php

Changelog

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