bp_the_message_thread_mark_unread_url( int $user_id = null )
Output the URL used for marking a single message thread as unread.
Description Description
Since this function directly outputs a URL, it is escaped.
Parameters Parameters
- $user_id
-
(Optional) ID of the user relative to whom the link should be generated. Default: ID of logged-in user.
Default value: null
Source Source
File: bp-messages/bp-messages-template.php
function bp_the_message_thread_mark_unread_url( $user_id = null ) { echo esc_url( bp_get_the_message_thread_mark_unread_url( $user_id ) ); }
Changelog Changelog
Version | Description |
---|---|
2.9.0 | Introduced $user_id parameter. |
2.2.0 | Introduced. |