apply_filters( 'bp_media_user_can_delete', bool $can_delete, object $media )

Filters whether the current user can delete an media item.

Description

Parameters

$can_delete

Whether the user can delete the item.

$media

Current media item object.

Source

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