bp_the_message_thread_mark_unread_url( int $user_id = null )
Output the URL used for marking a single message thread as unread.
Description
Since this function directly outputs a URL, it is escaped.
Parameters
- $user_id
-
(int) (Optional) ID of the user relative to whom the link should be generated. Default: ID of logged-in user.
Default value: null
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
Version | Description |
---|---|
BuddyPress 2.2.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.