Changeset 7622 for trunk/bp-activity/bp-activity-screens.php
- Timestamp:
- 11/30/2013 05:13:05 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-screens.php
r7537 r7622 128 128 bp_core_load_template( apply_filters( 'bp_activity_template_mention_activity', 'members/single/home' ) ); 129 129 } 130 131 /**132 * Remove activity notifications when a user clicks on them.133 *134 * @since BuddyPress (1.5)135 *136 * @uses bp_core_mark_all_notifications_by_type()137 */138 function bp_activity_remove_screen_notifications() {139 bp_core_mark_notifications_by_type( bp_loggedin_user_id(), buddypress()->activity->id, 'new_at_mention' );140 }141 add_action( 'bp_activity_screen_my_activity', 'bp_activity_remove_screen_notifications' );142 add_action( 'bp_activity_screen_single_activity_permalink', 'bp_activity_remove_screen_notifications' );143 add_action( 'bp_activity_screen_mentions', 'bp_activity_remove_screen_notifications' );144 130 145 131 /**
Note: See TracChangeset
for help on using the changeset viewer.