bp_the_notification_mark_read_url( int $user_id )

Output the URL used for marking a single notification as read.


Description Description

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


Parameters Parameters

$user_id

(Required) The user ID.


Top ↑

Source Source

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

function bp_the_notification_mark_read_url( $user_id = 0 ) {
	echo esc_url( bp_get_the_notification_mark_read_url( $user_id ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Added $user_id as a parameter.
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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