bp_activity_reset_my_new_mentions()

Reset the logged-in user’s new mentions data when he visits his mentions screen.

Description

Source

File: bp-activity/screens/mentions.php

function bp_activity_reset_my_new_mentions() {
	if ( bp_is_my_profile() )
		bp_activity_clear_new_mentions( bp_loggedin_user_id() );
}

Changelog

Changelog
Version Description
BuddyPress 1.5.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.