function bp_core_delete_notifications_by_item_id($user_id, $item_id, $component_name, $component_action, $secondary_item_id = false)
{
    return BP_Core_Notification::delete_for_user_by_item_id($user_id, $item_id, $component_name, $component_action, $secondary_item_id);
}
Example #2
0
function bp_core_delete_notifications_for_user_by_item_id($user_id, $item_id, $component_name, $component_action, $secondary_item_id = false)
{
    _deprecated_function(__FUNCTION__, '1.5', 'bp_core_delete_notifications_by_item_id()');
    return BP_Core_Notification::delete_for_user_by_item_id($user_id, $item_id, $component_name, $component_action, $secondary_item_id);
}