apply_filters( 'bp_activity_user_can_edit', bool $can_edit, object $activity )

Filters whether the current user can edit an activity item.

Description

Parameters

$can_edit

Whether the user can edit the item.

$activity

Current activity item object.

Source

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

Changelog

Changelog
Version Description
BuddyBoss 1.2.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.