bp_notifications_unread_permalink( int $user_id )

Output the unread notifications permalink for a user.

Description

Parameters

$user_id

(Required) The user ID.

Source

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

function bp_notifications_unread_permalink( $user_id = 0 ) {
	echo bp_get_notifications_unread_permalink( $user_id );
}

Changelog

Changelog
Version Description
BuddyPress 2.6.0 Added $user_id as a parameter. BuddyPress 2.6.0 Added $user_id as a parameter.
BuddyPress 1.9.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.