This function has been deprecated. BuddyPress 1.5.0 instead.

bp_core_delete_notifications_for_user_by_type( $user_id,  $component_name,  $component_action )

BP 1.5 simplified notification functions a bit

Description

Return

(mixed)

Source

File: bp-core/deprecated/buddypress/1.5.php

function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) {
	_deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_type()' );
	return BP_Core_Notification::delete_for_user_by_type( $user_id, $component_name, $component_action );
}

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.