bp_the_notification_mark_unread_url( int $user_id )
Output the URL used for marking a single notification as unread.
Description Description
Since this function directly outputs a URL, it is escaped.
Parameters Parameters
- $user_id
-
(Required) The user ID.
Source Source
File: bp-notifications/bp-notifications-template.php
function bp_the_notification_mark_unread_url( $user_id = 0 ) { echo esc_url( bp_get_the_notification_mark_unread_url( $user_id ) ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Added $user_id as a parameter. |
2.1.0 | Introduced. |