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

Filters whether the current user can delete an activity item.


Parameters Parameters

$can_delete

(bool) Whether the user can delete the item.

$activity

(object) Current activity item object.


Source Source

File: bp-activity/bp-activity-template.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.