apply_filters( 'bp_get_the_notification_mark_read_link', string $retval, int $user_id )

Filters the mark read link for the current notification.

Description

Parameters

$retval

HTML for the mark read link for the current notification.

$user_id

The user ID.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.6.0 Added $user_id as a parameter. BuddyPress 2.6.0 Added $user_id as a parameter.
BuddyPress 1.9.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.