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.


Top ↑

Parameters Parameters

$user_id

(int) (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 ) );
}


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.