apply_filters( 'bp_activity_user_can_delete', bool $can_delete, object $activity )

Filters whether the current user can delete an activity item.

Description

Parameters

$can_delete

Whether the user can delete the item.

$activity

Current activity item object.

Source

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