do_action( 'bp_activity_before_action_delete_activity', int $activity_id, int $user_id )

Fires before the deletion so plugins can still fetch information about it.

Description

Parameters

$activity_id

(int) The activity ID.

$user_id

(int) The user associated with the activity.

Source

File: bp-activity/actions/delete.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.