bp_activity_screen_mentions()
Load the ‘Mentions’ activity page.
Description
Source
File: bp-activity/screens/mentions.php
function bp_activity_screen_mentions() { bp_update_is_item_admin( bp_current_user_can( 'bp_moderate' ), 'activity' ); /** * Fires right before the loading of the "Mentions" screen template file. * * @since BuddyPress 1.2.0 */ do_action( 'bp_activity_screen_mentions' ); /** * Filters the template to load for the "Mentions" screen. * * @since BuddyPress 1.2.0 * * @param string $template Path to the activity template to load. */ bp_core_load_template( apply_filters( 'bp_activity_template_mention_activity', 'members/single/home' ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.2.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.