do_action( 'bp_notification_before_delete', array $args )

Fires before the deletion of a notification item.

Description

Parameters

$args

(array) Associative array of columns/values, to determine which rows should be deleted. Of the format array( 'item_id' => 7, 'component_action' => 'members' ).

Source

File: bp-notifications/classes/class-bp-notifications-notification.php

Changelog

Changelog
Version Description
BuddyPress 2.0.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.