bp_the_message_thread_mark_read_url( int $user_id = null )

Output the URL used for marking a single message thread as read.

Description Description

Since this function directly outputs a URL, it is escaped.

Top ↑

Parameters Parameters


(int) (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_read_url( $user_id = null ) {
	echo esc_url( bp_get_the_message_thread_mark_read_url( $user_id ) );

Top ↑

Changelog Changelog

Version Description
2.9.0 Introduced $user_id parameter.
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.